ault-sdk-ts 0.0.2-alpha.7 → 0.1.0

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 (90) hide show
  1. package/README.md +375 -50
  2. package/dist/agent/attach.d.ts +26 -0
  3. package/dist/agent/sign-and-broadcast.d.ts +9 -2
  4. package/dist/agent/tx/clob.d.ts +8 -1
  5. package/dist/agent/tx-executor.d.ts +24 -2
  6. package/dist/client.d.ts +6 -7
  7. package/dist/core/clob-gas.d.ts +28 -0
  8. package/dist/core/clob-msgs.d.ts +31 -5
  9. package/dist/core/clob-responses.d.ts +20 -0
  10. package/dist/core/cloid.d.ts +4 -0
  11. package/dist/core/errors.d.ts +79 -0
  12. package/dist/core/manifest-fetcher.d.ts +12 -0
  13. package/dist/core/manifest-resolver.d.ts +121 -0
  14. package/dist/core/manifest-types.d.ts +102 -0
  15. package/dist/core/network.d.ts +42 -13
  16. package/dist/eip712/msg.generated.d.ts +26 -10
  17. package/dist/eip712/registry.d.ts +2 -0
  18. package/dist/eip712/sign-and-broadcast.d.ts +27 -3
  19. package/dist/high-level/cloid-lookup.d.ts +9 -0
  20. package/dist/high-level/create-client.d.ts +15 -11
  21. package/dist/high-level/tx/accountx.d.ts +3 -0
  22. package/dist/high-level/tx/agent.d.ts +1 -1
  23. package/dist/high-level/tx/clob.d.ts +1 -1
  24. package/dist/high-level/tx/context.d.ts +8 -0
  25. package/dist/high-level/tx/license.d.ts +1 -1
  26. package/dist/high-level/tx/miner.d.ts +1 -1
  27. package/dist/high-level/tx/reward.d.ts +1 -1
  28. package/dist/high-level/tx/staking.d.ts +1 -1
  29. package/dist/high-level/tx-executor.d.ts +23 -3
  30. package/dist/high-level/types.d.ts +356 -100
  31. package/dist/high-level-client.d.ts +1 -1
  32. package/dist/index.cjs +16101 -7908
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.ts +10 -1
  35. package/dist/index.js +15860 -7678
  36. package/dist/index.js.map +1 -1
  37. package/dist/proto/gen/ault/accountx/v1/genesis.d.ts +38 -0
  38. package/dist/proto/gen/ault/accountx/v1/params.d.ts +32 -0
  39. package/dist/proto/gen/ault/accountx/v1/query.d.ts +88 -0
  40. package/dist/proto/gen/ault/accountx/v1/tx.d.ts +52 -0
  41. package/dist/proto/gen/ault/agent/v1/tx.d.ts +4 -5
  42. package/dist/proto/gen/ault/authority/v1/authority.d.ts +2 -0
  43. package/dist/proto/gen/ault/clob/v1/genesis.d.ts +6 -5
  44. package/dist/proto/gen/ault/clob/v1/query.d.ts +14 -0
  45. package/dist/proto/gen/ault/clob/v1/tx.d.ts +30 -3
  46. package/dist/proto/gen/ault/common/v1/system.d.ts +31 -0
  47. package/dist/proto/gen/ault/license/v1/genesis.d.ts +1 -26
  48. package/dist/proto/gen/ault/license/v1/license.d.ts +0 -26
  49. package/dist/proto/gen/ault/license/v1/query.d.ts +44 -18
  50. package/dist/proto/gen/ault/market/v1/market.d.ts +1 -0
  51. package/dist/proto/gen/ault/market/v1/tx.d.ts +9 -0
  52. package/dist/proto/gen/ault/miner/v1/genesis.d.ts +52 -84
  53. package/dist/proto/gen/ault/miner/v1/miner.d.ts +10 -45
  54. package/dist/proto/gen/ault/miner/v1/query.d.ts +0 -13
  55. package/dist/proto/gen/ault/spot/v1/genesis.d.ts +2 -2
  56. package/dist/proto/gen/ault/spot/v1/order.d.ts +12 -4
  57. package/dist/proto/gen/ault/systemtx/v1/genesis.d.ts +37 -0
  58. package/dist/proto/gen/ault/tokenregistry/v1/genesis.d.ts +3 -3
  59. package/dist/proto/gen/ault/tokenregistry/v1/query.d.ts +2 -2
  60. package/dist/proto/gen/ault/tokenregistry/v1/tokenregistry.d.ts +24 -15
  61. package/dist/proto/gen/ault/tokenregistry/v1/tx.d.ts +1 -16
  62. package/dist/proto/gen/cosmos/bank/v1beta1/bank.d.ts +119 -0
  63. package/dist/proto/gen/cosmos/bank/v1beta1/query.d.ts +264 -0
  64. package/dist/proto/gen/cosmos/distribution/v1beta1/query.d.ts +203 -0
  65. package/dist/proto/gen/cosmos/query/v1/query.d.ts +1 -0
  66. package/dist/proto/gen/cosmos/staking/v1beta1/query.d.ts +275 -0
  67. package/dist/proto/gen/google/api/http.d.ts +20 -28
  68. package/dist/proto/gen/tendermint/abci/types.d.ts +23 -0
  69. package/dist/proto/tx-decode.d.ts +18 -0
  70. package/dist/rest/accountx.d.ts +8 -0
  71. package/dist/rest/bank.d.ts +15 -0
  72. package/dist/rest/clob.d.ts +9 -1
  73. package/dist/rest/context.d.ts +4 -4
  74. package/dist/rest/dex-types.generated.d.ts +363 -120
  75. package/dist/rest/dex.d.ts +6 -0
  76. package/dist/rest/dex.generated.d.ts +599 -83
  77. package/dist/rest/feemarket.d.ts +114 -0
  78. package/dist/rest/license.d.ts +21 -59
  79. package/dist/rest/miner.d.ts +16 -46
  80. package/dist/rest/portfolio.d.ts +103 -0
  81. package/dist/rest/staking.d.ts +14 -28
  82. package/dist/rest/tokenregistry.d.ts +3 -1
  83. package/dist/rest/types.d.ts +82 -858
  84. package/dist/utils/address.d.ts +2 -0
  85. package/dist/utils/opaque-id.d.ts +25 -0
  86. package/dist/utils/tx-hash.d.ts +1 -0
  87. package/dist/ws/client.d.ts +45 -5
  88. package/dist/ws/types.d.ts +380 -21
  89. package/package.json +2 -1
  90. package/dist/agent/create-agent-client.d.ts +0 -3
@@ -1,199 +1,26 @@
1
1
  import { z } from "zod";
2
- export declare const LicenseStatusSchema: z.ZodEnum<{
3
- LICENSE_STATUS_UNSPECIFIED: "LICENSE_STATUS_UNSPECIFIED";
4
- LICENSE_STATUS_ACTIVE: "LICENSE_STATUS_ACTIVE";
5
- LICENSE_STATUS_REVOKED: "LICENSE_STATUS_REVOKED";
6
- LICENSE_STATUS_BURNED: "LICENSE_STATUS_BURNED";
7
- }>;
8
- export type LicenseStatus = z.infer<typeof LicenseStatusSchema>;
9
- export declare const LicenseSchema: z.ZodObject<{
10
- id: z.ZodString;
11
- owner: z.ZodString;
12
- status: z.ZodEnum<{
13
- LICENSE_STATUS_UNSPECIFIED: "LICENSE_STATUS_UNSPECIFIED";
14
- LICENSE_STATUS_ACTIVE: "LICENSE_STATUS_ACTIVE";
15
- LICENSE_STATUS_REVOKED: "LICENSE_STATUS_REVOKED";
16
- LICENSE_STATUS_BURNED: "LICENSE_STATUS_BURNED";
17
- }>;
18
- class_name: z.ZodString;
19
- uri: z.ZodString;
20
- created_at: z.ZodString;
21
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- burned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$loose>;
24
- export type License = z.infer<typeof LicenseSchema>;
25
- export declare const LicenseModuleParamsSchema: z.ZodObject<{
26
- class_name: z.ZodString;
27
- class_symbol: z.ZodString;
28
- base_token_uri: z.ZodString;
29
- minting_paused: z.ZodBoolean;
30
- supply_cap: z.ZodString;
31
- allow_metadata_update: z.ZodBoolean;
32
- admin_can_revoke: z.ZodBoolean;
33
- admin_can_burn: z.ZodBoolean;
34
- max_batch_size: z.ZodNumber;
35
- transfer_unlock_days: z.ZodNumber;
36
- enable_transfers: z.ZodBoolean;
37
- minter_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
38
- kyc_approver_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
39
- free_max_gas_limit: z.ZodString;
40
- max_voting_power_per_address: z.ZodString;
41
- }, z.core.$loose>;
42
- export type LicenseModuleParams = z.infer<typeof LicenseModuleParamsSchema>;
43
- export declare const MiningDelegationSchema: z.ZodObject<{
44
- license_id: z.ZodString;
45
- operator: z.ZodString;
46
- }, z.core.$loose>;
47
- export type MiningDelegation = z.infer<typeof MiningDelegationSchema>;
48
- export declare const OperatorSchema: z.ZodObject<{
49
- operator: z.ZodString;
50
- commission_rate: z.ZodNumber;
51
- commission_recipient: z.ZodString;
52
- last_update_epoch: z.ZodOptional<z.ZodString>;
53
- }, z.core.$loose>;
54
- export type Operator = z.infer<typeof OperatorSchema>;
55
- export declare const LicenseMinerInfoSchema: z.ZodObject<{
56
- vrf_pubkey: z.ZodString;
57
- last_submit_epoch: z.ZodString;
58
- eligible_now: z.ZodBoolean;
59
- quarantined_local: z.ZodBoolean;
60
- quarantined_source: z.ZodBoolean;
61
- all_time_credits: z.ZodString;
62
- all_time_payouts: z.ZodString;
63
- }, z.core.$loose>;
64
- export type LicenseMinerInfo = z.infer<typeof LicenseMinerInfoSchema>;
65
- export declare const OwnerKeyInfoSchema: z.ZodObject<{
66
- vrf_pubkey: z.ZodOptional<z.ZodString>;
67
- nonce: z.ZodOptional<z.ZodString>;
68
- last_rotation_time: z.ZodOptional<z.ZodString>;
69
- registration_epoch: z.ZodOptional<z.ZodString>;
70
- valid_from_epoch: z.ZodOptional<z.ZodString>;
71
- registration_chain_id: z.ZodOptional<z.ZodString>;
72
- }, z.core.$loose>;
73
- export type OwnerKeyInfo = z.infer<typeof OwnerKeyInfoSchema>;
74
- export declare const EmissionInfoSchema: z.ZodObject<{
75
- current_year: z.ZodNumber;
76
- annual_emission: z.ZodString;
77
- monthly_emission: z.ZodString;
78
- daily_emission: z.ZodString;
79
- cumulative_emitted: z.ZodString;
80
- epochs_until_next_year: z.ZodString;
81
- current_epoch: z.ZodString;
82
- epochs_per_year: z.ZodString;
83
- }, z.core.$loose>;
84
- export type EmissionInfo = z.infer<typeof EmissionInfoSchema>;
85
- export declare const YearEmissionSchema: z.ZodObject<{
86
- year: z.ZodNumber;
87
- annual_emission: z.ZodString;
88
- monthly_emission: z.ZodString;
89
- daily_emission: z.ZodString;
90
- }, z.core.$loose>;
91
- export type YearEmission = z.infer<typeof YearEmissionSchema>;
92
- export declare const LicensePayoutsSchema: z.ZodObject<{
93
- total_payout: z.ZodString;
94
- total_credits: z.ZodString;
95
- }, z.core.$loose>;
96
- export type LicensePayouts = z.infer<typeof LicensePayoutsSchema>;
97
- export declare const MinerModuleParamsSchema: z.ZodObject<{
98
- epoch_length_seconds: z.ZodString;
99
- target_winners_per_epoch: z.ZodNumber;
100
- max_winners_per_epoch: z.ZodNumber;
101
- submission_window_seconds: z.ZodNumber;
102
- controller_alpha_q16: z.ZodNumber;
103
- controller_window: z.ZodNumber;
104
- threshold_min: z.ZodString;
105
- threshold_max: z.ZodString;
106
- beacon_window_epochs: z.ZodNumber;
107
- key_rotation_cooldown_seconds: z.ZodString;
108
- vrf_verify_gas: z.ZodNumber;
109
- min_key_age_epochs: z.ZodNumber;
110
- initial_emission_per_epoch: z.ZodString;
111
- emission_decay_rate: z.ZodString;
112
- max_emission_years: z.ZodNumber;
113
- max_payouts_per_block: z.ZodNumber;
114
- max_epochs_per_block: z.ZodString;
115
- staking_reward_percentage: z.ZodNumber;
116
- max_commission_rate: z.ZodNumber;
117
- max_commission_rate_increase_per_epoch: z.ZodNumber;
118
- free_mining_until_epoch: z.ZodString;
119
- free_mining_max_gas_limit: z.ZodString;
120
- miner_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
121
- max_free_tx_per_epoch: z.ZodNumber;
122
- }, z.core.$loose>;
123
- export type MinerModuleParams = z.infer<typeof MinerModuleParamsSchema>;
124
- export declare const EpochInfoSchema: z.ZodObject<{
125
- epoch: z.ZodString;
126
- seed: z.ZodString;
127
- threshold: z.ZodString;
128
- beacon_r: z.ZodString;
129
- finalized: z.ZodBoolean;
130
- }, z.core.$loose>;
131
- export type EpochInfo = z.infer<typeof EpochInfoSchema>;
132
- export declare const ExchangeMarketSchema: z.ZodObject<{
133
- id: z.ZodString;
134
- base_denom: z.ZodString;
135
- quote_denom: z.ZodString;
136
- escrow_address: z.ZodString;
137
- maker_fee_rate: z.ZodString;
138
- taker_fee_rate: z.ZodString;
139
- last_price: z.ZodOptional<z.ZodString>;
140
- last_matching_height: z.ZodOptional<z.ZodString>;
141
- }, z.core.$loose>;
142
- export type ExchangeMarket = z.infer<typeof ExchangeMarketSchema>;
143
- export declare const ExchangeOrderSchema: z.ZodObject<{
144
- id: z.ZodString;
145
- orderer: z.ZodString;
146
- market_id: z.ZodString;
147
- is_buy: z.ZodBoolean;
148
- price: z.ZodString;
149
- quantity: z.ZodString;
150
- msg_height: z.ZodString;
151
- open_quantity: z.ZodString;
152
- remaining_deposit: z.ZodString;
153
- deadline: z.ZodString;
154
- }, z.core.$loose>;
155
- export type ExchangeOrder = z.infer<typeof ExchangeOrderSchema>;
156
- export declare const OrderBookPriceLevelSchema: z.ZodObject<{
157
- p: z.ZodString;
158
- q: z.ZodString;
159
- }, z.core.$loose>;
160
- export type OrderBookPriceLevel = z.infer<typeof OrderBookPriceLevelSchema>;
161
- export declare const OrderBookSchema: z.ZodObject<{
162
- price_interval: z.ZodString;
163
- sells: z.ZodArray<z.ZodObject<{
164
- p: z.ZodString;
165
- q: z.ZodString;
166
- }, z.core.$loose>>;
167
- buys: z.ZodArray<z.ZodObject<{
168
- p: z.ZodString;
169
- q: z.ZodString;
170
- }, z.core.$loose>>;
171
- }, z.core.$loose>;
172
- export type OrderBook = z.infer<typeof OrderBookSchema>;
173
- export declare const CoinSchema: z.ZodObject<{
174
- denom: z.ZodString;
175
- amount: z.ZodString;
176
- }, z.core.$loose>;
177
- export type Coin = z.infer<typeof CoinSchema>;
178
- export declare const ExchangeFeesSchema: z.ZodObject<{
179
- default_maker_fee_rate: z.ZodString;
180
- default_taker_fee_rate: z.ZodString;
181
- }, z.core.$loose>;
182
- export type ExchangeFees = z.infer<typeof ExchangeFeesSchema>;
183
- export declare const ExchangeParamsSchema: z.ZodObject<{
184
- market_creation_fee: z.ZodDefault<z.ZodArray<z.ZodObject<{
185
- denom: z.ZodString;
186
- amount: z.ZodString;
187
- }, z.core.$loose>>>;
188
- fees: z.ZodObject<{
189
- default_maker_fee_rate: z.ZodString;
190
- default_taker_fee_rate: z.ZodString;
191
- }, z.core.$loose>;
192
- max_order_lifespan: z.ZodString;
193
- max_order_price_ratio: z.ZodString;
194
- max_swap_routes_len: z.ZodNumber;
195
- }, z.core.$loose>;
196
- export type ExchangeParams = z.infer<typeof ExchangeParamsSchema>;
2
+ import { License as ProtoLicense, LicenseStatus as ProtoLicenseStatus, Params as ProtoLicenseParams } from "../proto/gen/ault/license/v1/license";
3
+ import { EpochInfo as ProtoEpochInfo, MiningDelegation as ProtoMiningDelegation, OperatorInfo as ProtoOperatorInfo, Params as ProtoMinerParams } from "../proto/gen/ault/miner/v1/miner";
4
+ import { QueryApprovedMembersResponse as ProtoApprovedMembersResponse, QueryBalanceResponse as ProtoBalanceResponse, QueryIsActiveResponse as ProtoIsActiveResponse, QueryIsApprovedMemberResponse as ProtoIsApprovedMemberResponse, QueryIsKYCApproverResponse as ProtoIsKycApproverResponse, QueryKYCApproversResponse as ProtoKycApproversResponse, QueryLicenseResponse as ProtoLicenseResponse, QueryLicensesByOwnerResponse as ProtoLicensesByOwnerResponse, QueryLicensesResponse as ProtoLicensesResponse, QueryMintersResponse as ProtoMintersResponse, QueryOwnedByResponse as ProtoOwnedByResponse, QueryOwnerResponse as ProtoOwnerResponse, QueryParamsResponse as ProtoLicenseParamsResponse, QueryTokenByOwnerIndexResponse as ProtoTokenOfOwnerByIndexResponse, QueryTotalSupplyResponse as ProtoTotalSupplyResponse, QueryTransferUnlockTimeResponse as ProtoTransferUnlockTimeResponse } from "../proto/gen/ault/license/v1/query";
5
+ import { QueryBeaconResponse as ProtoBeaconResponse, QueryDelegatedLicensesResponse as ProtoDelegatedLicensesResponse, QueryEmissionInfoResponse as ProtoEmissionInfoResponse, QueryEmissionScheduleResponse as ProtoEmissionScheduleResponse, QueryEpochInfoResponse as ProtoEpochInfoResponse, QueryEpochResponse as ProtoCurrentEpochResponse, QueryEpochsResponse as ProtoEpochsResponse, QueryLicenseDelegationResponse as ProtoLicenseDelegationResponse, QueryLicenseMinerInfoResponse as ProtoLicenseMinerInfoResponse, QueryOperatorInfoResponse as ProtoOperatorInfoResponse, QueryOperatorsResponse as ProtoOperatorsResponse, QueryOwnerKeyResponse as ProtoOwnerKeyResponse, QueryParamsResponse as ProtoMinerParamsResponse, YearEmission as ProtoYearEmission } from "../proto/gen/ault/miner/v1/query";
6
+ import { Commission as ProtoCommission, CommissionRates as ProtoCommissionRates, Delegation as ProtoDelegation, DelegationResponse as ProtoDelegationResponse, Description as ProtoValidatorDescription, Params as ProtoStakingParams, Pool as ProtoStakingPool, UnbondingDelegation as ProtoUnbondingDelegation, UnbondingDelegationEntry as ProtoUnbondingDelegationEntry, Validator as ProtoValidator, BondStatus as ProtoBondStatus } from "../proto/gen/cosmos/staking/v1beta1/staking";
7
+ import { QueryDelegatorDelegationsResponse as ProtoDelegationsResponse, QueryDelegationResponse as ProtoDelegationResponseEnvelope, QueryDelegatorUnbondingDelegationsResponse as ProtoUnbondingDelegationsResponse, QueryParamsResponse as ProtoStakingParamsResponse, QueryPoolResponse as ProtoStakingPoolResponse, QueryValidatorResponse as ProtoValidatorResponse, QueryValidatorsResponse as ProtoValidatorsResponse } from "../proto/gen/cosmos/staking/v1beta1/query";
8
+ import { QueryDelegationTotalRewardsResponse as ProtoStakingRewardsResponse } from "../proto/gen/cosmos/distribution/v1beta1/query";
9
+ import { Coin as ProtoCoin, DecCoin as ProtoDecCoin } from "../proto/gen/cosmos/base/v1beta1/coin";
10
+ import { DelegationDelegatorReward as ProtoDelegationReward } from "../proto/gen/cosmos/distribution/v1beta1/distribution";
11
+ import { Any as ProtoAny } from "../proto/gen/google/protobuf/any";
12
+ /**
13
+ * Shared REST query params for cosmos-sdk-style cursor pagination.
14
+ *
15
+ * Module-specific response shapes / params types come from the generated
16
+ * proto classes under `src/proto/gen/`. The legacy zod schemas that used
17
+ * to live here were dropped during the migration to `fetchProtoJson`; if
18
+ * you find yourself reaching for one, prefer the matching `Query*Response`
19
+ * proto class.
20
+ *
21
+ * The DEX-API REST surface (`src/rest/dex.ts`) still uses zod schemas
22
+ * because that endpoint is OpenAPI-described, not protobuf-described.
23
+ */
197
24
  export declare const PageResponseSchema: z.ZodObject<{
198
25
  next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
199
26
  total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
@@ -206,666 +33,63 @@ export interface PaginationParams {
206
33
  "pagination.count_total"?: boolean;
207
34
  "pagination.reverse"?: boolean;
208
35
  }
209
- export declare const LicenseResponseSchema: z.ZodObject<{
210
- license: z.ZodObject<{
211
- id: z.ZodString;
212
- owner: z.ZodString;
213
- status: z.ZodEnum<{
214
- LICENSE_STATUS_UNSPECIFIED: "LICENSE_STATUS_UNSPECIFIED";
215
- LICENSE_STATUS_ACTIVE: "LICENSE_STATUS_ACTIVE";
216
- LICENSE_STATUS_REVOKED: "LICENSE_STATUS_REVOKED";
217
- LICENSE_STATUS_BURNED: "LICENSE_STATUS_BURNED";
218
- }>;
219
- class_name: z.ZodString;
220
- uri: z.ZodString;
221
- created_at: z.ZodString;
222
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
- burned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
- }, z.core.$loose>;
225
- }, z.core.$loose>;
226
- export type LicenseResponse = z.infer<typeof LicenseResponseSchema>;
227
- export declare const LicensesResponseSchema: z.ZodObject<{
228
- licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
229
- id: z.ZodString;
230
- owner: z.ZodString;
231
- status: z.ZodEnum<{
232
- LICENSE_STATUS_UNSPECIFIED: "LICENSE_STATUS_UNSPECIFIED";
233
- LICENSE_STATUS_ACTIVE: "LICENSE_STATUS_ACTIVE";
234
- LICENSE_STATUS_REVOKED: "LICENSE_STATUS_REVOKED";
235
- LICENSE_STATUS_BURNED: "LICENSE_STATUS_BURNED";
236
- }>;
237
- class_name: z.ZodString;
238
- uri: z.ZodString;
239
- created_at: z.ZodString;
240
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
- burned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
- }, z.core.$loose>>>;
243
- pagination: z.ZodOptional<z.ZodObject<{
244
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
245
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
246
- }, z.core.$loose>>;
247
- }, z.core.$loose>;
248
- export type LicensesResponse = z.infer<typeof LicensesResponseSchema>;
249
- export declare const LicensesByOwnerResponseSchema: z.ZodObject<{
250
- licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
251
- id: z.ZodString;
252
- owner: z.ZodString;
253
- status: z.ZodEnum<{
254
- LICENSE_STATUS_UNSPECIFIED: "LICENSE_STATUS_UNSPECIFIED";
255
- LICENSE_STATUS_ACTIVE: "LICENSE_STATUS_ACTIVE";
256
- LICENSE_STATUS_REVOKED: "LICENSE_STATUS_REVOKED";
257
- LICENSE_STATUS_BURNED: "LICENSE_STATUS_BURNED";
258
- }>;
259
- class_name: z.ZodString;
260
- uri: z.ZodString;
261
- created_at: z.ZodString;
262
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
- burned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
- }, z.core.$loose>>>;
265
- pagination: z.ZodOptional<z.ZodObject<{
266
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
267
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
268
- }, z.core.$loose>>;
269
- }, z.core.$loose>;
270
- export type LicensesByOwnerResponse = z.infer<typeof LicensesByOwnerResponseSchema>;
271
- export declare const BalanceResponseSchema: z.ZodObject<{
272
- balance: z.ZodString;
273
- }, z.core.$loose>;
274
- export type BalanceResponse = z.infer<typeof BalanceResponseSchema>;
275
- export declare const OwnerResponseSchema: z.ZodObject<{
276
- owner: z.ZodString;
277
- }, z.core.$loose>;
278
- export type OwnerResponse = z.infer<typeof OwnerResponseSchema>;
279
- export declare const TokenOfOwnerByIndexResponseSchema: z.ZodObject<{
280
- id: z.ZodString;
281
- }, z.core.$loose>;
282
- export type TokenOfOwnerByIndexResponse = z.infer<typeof TokenOfOwnerByIndexResponseSchema>;
283
- export declare const OwnedByResponseSchema: z.ZodObject<{
284
- license_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
285
- pagination: z.ZodOptional<z.ZodObject<{
286
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
287
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
288
- }, z.core.$loose>>;
289
- }, z.core.$loose>;
290
- export type OwnedByResponse = z.infer<typeof OwnedByResponseSchema>;
291
- export declare const TotalSupplyResponseSchema: z.ZodObject<{
292
- total_supply: z.ZodString;
293
- }, z.core.$loose>;
294
- export type TotalSupplyResponse = z.infer<typeof TotalSupplyResponseSchema>;
295
- export declare const IsActiveResponseSchema: z.ZodObject<{
296
- is_active: z.ZodBoolean;
297
- }, z.core.$loose>;
298
- export type IsActiveResponse = z.infer<typeof IsActiveResponseSchema>;
299
- export declare const LicenseParamsResponseSchema: z.ZodObject<{
300
- params: z.ZodObject<{
301
- class_name: z.ZodString;
302
- class_symbol: z.ZodString;
303
- base_token_uri: z.ZodString;
304
- minting_paused: z.ZodBoolean;
305
- supply_cap: z.ZodString;
306
- allow_metadata_update: z.ZodBoolean;
307
- admin_can_revoke: z.ZodBoolean;
308
- admin_can_burn: z.ZodBoolean;
309
- max_batch_size: z.ZodNumber;
310
- transfer_unlock_days: z.ZodNumber;
311
- enable_transfers: z.ZodBoolean;
312
- minter_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
313
- kyc_approver_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
314
- free_max_gas_limit: z.ZodString;
315
- max_voting_power_per_address: z.ZodString;
316
- }, z.core.$loose>;
317
- }, z.core.$loose>;
318
- export type LicenseParamsResponse = z.infer<typeof LicenseParamsResponseSchema>;
319
- export declare const MintersResponseSchema: z.ZodObject<{
320
- minters: z.ZodDefault<z.ZodArray<z.ZodString>>;
321
- pagination: z.ZodOptional<z.ZodObject<{
322
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
323
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
324
- }, z.core.$loose>>;
325
- }, z.core.$loose>;
326
- export type MintersResponse = z.infer<typeof MintersResponseSchema>;
327
- export declare const TransferUnlockTimeResponseSchema: z.ZodObject<{
328
- unlock_time: z.ZodString;
329
- }, z.core.$loose>;
330
- export type TransferUnlockTimeResponse = z.infer<typeof TransferUnlockTimeResponseSchema>;
331
- export declare const KycApproversResponseSchema: z.ZodObject<{
332
- approvers: z.ZodDefault<z.ZodArray<z.ZodString>>;
333
- pagination: z.ZodOptional<z.ZodObject<{
334
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
335
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
336
- }, z.core.$loose>>;
337
- }, z.core.$loose>;
338
- export type KycApproversResponse = z.infer<typeof KycApproversResponseSchema>;
339
- export declare const ApprovedMembersResponseSchema: z.ZodObject<{
340
- members: z.ZodDefault<z.ZodArray<z.ZodString>>;
341
- pagination: z.ZodOptional<z.ZodObject<{
342
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
343
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
344
- }, z.core.$loose>>;
345
- }, z.core.$loose>;
346
- export type ApprovedMembersResponse = z.infer<typeof ApprovedMembersResponseSchema>;
347
- export declare const IsApprovedMemberResponseSchema: z.ZodObject<{
348
- is_approved: z.ZodBoolean;
349
- }, z.core.$loose>;
350
- export type IsApprovedMemberResponse = z.infer<typeof IsApprovedMemberResponseSchema>;
351
- export declare const IsKycApproverResponseSchema: z.ZodObject<{
352
- is_approver: z.ZodBoolean;
353
- }, z.core.$loose>;
354
- export type IsKycApproverResponse = z.infer<typeof IsKycApproverResponseSchema>;
355
- export declare const ActiveLicenseCountAtResponseSchema: z.ZodObject<{
356
- count: z.ZodString;
357
- }, z.core.$loose>;
358
- export type ActiveLicenseCountAtResponse = z.infer<typeof ActiveLicenseCountAtResponseSchema>;
359
- export declare const CurrentEpochResponseSchema: z.ZodObject<{
360
- epoch: z.ZodString;
361
- seed: z.ZodString;
362
- threshold: z.ZodString;
363
- }, z.core.$loose>;
364
- export type CurrentEpochResponse = z.infer<typeof CurrentEpochResponseSchema>;
365
- export declare const BeaconResponseSchema: z.ZodObject<{
366
- r: z.ZodString;
367
- finalized: z.ZodBoolean;
368
- }, z.core.$loose>;
369
- export type BeaconResponse = z.infer<typeof BeaconResponseSchema>;
370
- export declare const MinerParamsResponseSchema: z.ZodObject<{
371
- params: z.ZodObject<{
372
- epoch_length_seconds: z.ZodString;
373
- target_winners_per_epoch: z.ZodNumber;
374
- max_winners_per_epoch: z.ZodNumber;
375
- submission_window_seconds: z.ZodNumber;
376
- controller_alpha_q16: z.ZodNumber;
377
- controller_window: z.ZodNumber;
378
- threshold_min: z.ZodString;
379
- threshold_max: z.ZodString;
380
- beacon_window_epochs: z.ZodNumber;
381
- key_rotation_cooldown_seconds: z.ZodString;
382
- vrf_verify_gas: z.ZodNumber;
383
- min_key_age_epochs: z.ZodNumber;
384
- initial_emission_per_epoch: z.ZodString;
385
- emission_decay_rate: z.ZodString;
386
- max_emission_years: z.ZodNumber;
387
- max_payouts_per_block: z.ZodNumber;
388
- max_epochs_per_block: z.ZodString;
389
- staking_reward_percentage: z.ZodNumber;
390
- max_commission_rate: z.ZodNumber;
391
- max_commission_rate_increase_per_epoch: z.ZodNumber;
392
- free_mining_until_epoch: z.ZodString;
393
- free_mining_max_gas_limit: z.ZodString;
394
- miner_allowed_msgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
395
- max_free_tx_per_epoch: z.ZodNumber;
396
- }, z.core.$loose>;
397
- }, z.core.$loose>;
398
- export type MinerParamsResponse = z.infer<typeof MinerParamsResponseSchema>;
399
- export declare const EmissionScheduleResponseSchema: z.ZodObject<{
400
- schedule: z.ZodDefault<z.ZodArray<z.ZodObject<{
401
- year: z.ZodNumber;
402
- annual_emission: z.ZodString;
403
- monthly_emission: z.ZodString;
404
- daily_emission: z.ZodString;
405
- }, z.core.$loose>>>;
406
- }, z.core.$loose>;
407
- export type EmissionScheduleResponse = z.infer<typeof EmissionScheduleResponseSchema>;
408
- export declare const EpochInfoResponseSchema: z.ZodObject<{
409
- info: z.ZodObject<{
410
- epoch: z.ZodString;
411
- seed: z.ZodString;
412
- threshold: z.ZodString;
413
- beacon_r: z.ZodString;
414
- finalized: z.ZodBoolean;
415
- }, z.core.$loose>;
416
- }, z.core.$loose>;
417
- export type EpochInfoResponse = z.infer<typeof EpochInfoResponseSchema>;
418
- export declare const EpochsResponseSchema: z.ZodObject<{
419
- epochs: z.ZodDefault<z.ZodArray<z.ZodObject<{
420
- epoch: z.ZodString;
421
- seed: z.ZodString;
422
- threshold: z.ZodString;
423
- beacon_r: z.ZodString;
424
- finalized: z.ZodBoolean;
425
- }, z.core.$loose>>>;
426
- pagination: z.ZodOptional<z.ZodObject<{
427
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
428
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
429
- }, z.core.$loose>>;
430
- }, z.core.$loose>;
431
- export type EpochsResponse = z.infer<typeof EpochsResponseSchema>;
432
- export declare const OperatorInfoResponseSchema: z.ZodObject<{
433
- info: z.ZodOptional<z.ZodObject<{
434
- operator: z.ZodString;
435
- commission_rate: z.ZodNumber;
436
- commission_recipient: z.ZodString;
437
- last_update_epoch: z.ZodOptional<z.ZodString>;
438
- }, z.core.$loose>>;
439
- operator: z.ZodOptional<z.ZodObject<{
440
- operator: z.ZodString;
441
- commission_rate: z.ZodNumber;
442
- commission_recipient: z.ZodString;
443
- last_update_epoch: z.ZodOptional<z.ZodString>;
444
- }, z.core.$loose>>;
445
- }, z.core.$loose>;
446
- export type OperatorInfoResponse = z.infer<typeof OperatorInfoResponseSchema>;
447
- export declare const OperatorsResponseSchema: z.ZodObject<{
448
- operators: z.ZodDefault<z.ZodArray<z.ZodObject<{
449
- operator: z.ZodString;
450
- commission_rate: z.ZodNumber;
451
- commission_recipient: z.ZodString;
452
- last_update_epoch: z.ZodOptional<z.ZodString>;
453
- }, z.core.$loose>>>;
454
- pagination: z.ZodOptional<z.ZodObject<{
455
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
456
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
457
- }, z.core.$loose>>;
458
- }, z.core.$loose>;
459
- export type OperatorsResponse = z.infer<typeof OperatorsResponseSchema>;
460
- export declare const LicenseDelegationResponseSchema: z.ZodObject<{
461
- delegation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
462
- license_id: z.ZodString;
463
- operator: z.ZodString;
464
- }, z.core.$loose>>>;
465
- is_delegated: z.ZodBoolean;
466
- }, z.core.$loose>;
467
- export type LicenseDelegationResponse = z.infer<typeof LicenseDelegationResponseSchema>;
468
- export declare const DelegatedLicensesResponseSchema: z.ZodObject<{
469
- license_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
470
- pagination: z.ZodOptional<z.ZodObject<{
471
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
472
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
473
- }, z.core.$loose>>;
474
- }, z.core.$loose>;
475
- export type DelegatedLicensesResponse = z.infer<typeof DelegatedLicensesResponseSchema>;
476
- export declare const ExchangeParamsResponseSchema: z.ZodObject<{
477
- params: z.ZodObject<{
478
- market_creation_fee: z.ZodDefault<z.ZodArray<z.ZodObject<{
479
- denom: z.ZodString;
480
- amount: z.ZodString;
481
- }, z.core.$loose>>>;
482
- fees: z.ZodObject<{
483
- default_maker_fee_rate: z.ZodString;
484
- default_taker_fee_rate: z.ZodString;
485
- }, z.core.$loose>;
486
- max_order_lifespan: z.ZodString;
487
- max_order_price_ratio: z.ZodString;
488
- max_swap_routes_len: z.ZodNumber;
489
- }, z.core.$loose>;
490
- }, z.core.$loose>;
491
- export type ExchangeParamsResponse = z.infer<typeof ExchangeParamsResponseSchema>;
492
- export declare const MarketsResponseSchema: z.ZodObject<{
493
- markets: z.ZodDefault<z.ZodArray<z.ZodObject<{
494
- id: z.ZodString;
495
- base_denom: z.ZodString;
496
- quote_denom: z.ZodString;
497
- escrow_address: z.ZodString;
498
- maker_fee_rate: z.ZodString;
499
- taker_fee_rate: z.ZodString;
500
- last_price: z.ZodOptional<z.ZodString>;
501
- last_matching_height: z.ZodOptional<z.ZodString>;
502
- }, z.core.$loose>>>;
503
- pagination: z.ZodOptional<z.ZodObject<{
504
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
505
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
506
- }, z.core.$loose>>;
507
- }, z.core.$loose>;
508
- export type MarketsResponse = z.infer<typeof MarketsResponseSchema>;
509
- export declare const MarketResponseSchema: z.ZodObject<{
510
- market: z.ZodObject<{
511
- id: z.ZodString;
512
- base_denom: z.ZodString;
513
- quote_denom: z.ZodString;
514
- escrow_address: z.ZodString;
515
- maker_fee_rate: z.ZodString;
516
- taker_fee_rate: z.ZodString;
517
- last_price: z.ZodOptional<z.ZodString>;
518
- last_matching_height: z.ZodOptional<z.ZodString>;
519
- }, z.core.$loose>;
520
- }, z.core.$loose>;
521
- export type MarketResponse = z.infer<typeof MarketResponseSchema>;
522
- export declare const OrdersResponseSchema: z.ZodObject<{
523
- orders: z.ZodDefault<z.ZodArray<z.ZodObject<{
524
- id: z.ZodString;
525
- orderer: z.ZodString;
526
- market_id: z.ZodString;
527
- is_buy: z.ZodBoolean;
528
- price: z.ZodString;
529
- quantity: z.ZodString;
530
- msg_height: z.ZodString;
531
- open_quantity: z.ZodString;
532
- remaining_deposit: z.ZodString;
533
- deadline: z.ZodString;
534
- }, z.core.$loose>>>;
535
- pagination: z.ZodOptional<z.ZodObject<{
536
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
537
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
538
- }, z.core.$loose>>;
539
- }, z.core.$loose>;
540
- export type OrdersResponse = z.infer<typeof OrdersResponseSchema>;
541
- export declare const OrderResponseSchema: z.ZodObject<{
542
- order: z.ZodObject<{
543
- id: z.ZodString;
544
- orderer: z.ZodString;
545
- market_id: z.ZodString;
546
- is_buy: z.ZodBoolean;
547
- price: z.ZodString;
548
- quantity: z.ZodString;
549
- msg_height: z.ZodString;
550
- open_quantity: z.ZodString;
551
- remaining_deposit: z.ZodString;
552
- deadline: z.ZodString;
553
- }, z.core.$loose>;
554
- }, z.core.$loose>;
555
- export type OrderResponse = z.infer<typeof OrderResponseSchema>;
556
- export declare const OrderBookResponseSchema: z.ZodObject<{
557
- order_books: z.ZodDefault<z.ZodArray<z.ZodObject<{
558
- price_interval: z.ZodString;
559
- sells: z.ZodArray<z.ZodObject<{
560
- p: z.ZodString;
561
- q: z.ZodString;
562
- }, z.core.$loose>>;
563
- buys: z.ZodArray<z.ZodObject<{
564
- p: z.ZodString;
565
- q: z.ZodString;
566
- }, z.core.$loose>>;
567
- }, z.core.$loose>>>;
568
- }, z.core.$loose>;
569
- export type OrderBookResponse = z.infer<typeof OrderBookResponseSchema>;
570
- export declare const ValidatorDescriptionSchema: z.ZodObject<{
571
- moniker: z.ZodDefault<z.ZodString>;
572
- identity: z.ZodDefault<z.ZodString>;
573
- website: z.ZodDefault<z.ZodString>;
574
- security_contact: z.ZodDefault<z.ZodString>;
575
- details: z.ZodDefault<z.ZodString>;
576
- }, z.core.$strip>;
577
- export type ValidatorDescription = z.infer<typeof ValidatorDescriptionSchema>;
578
- export declare const ValidatorCommissionRatesSchema: z.ZodObject<{
579
- rate: z.ZodString;
580
- max_rate: z.ZodString;
581
- max_change_rate: z.ZodString;
582
- }, z.core.$strip>;
583
- export type ValidatorCommissionRates = z.infer<typeof ValidatorCommissionRatesSchema>;
584
- export declare const ValidatorCommissionSchema: z.ZodObject<{
585
- commission_rates: z.ZodObject<{
586
- rate: z.ZodString;
587
- max_rate: z.ZodString;
588
- max_change_rate: z.ZodString;
589
- }, z.core.$strip>;
590
- update_time: z.ZodString;
591
- }, z.core.$strip>;
592
- export type ValidatorCommission = z.infer<typeof ValidatorCommissionSchema>;
593
- export declare const ValidatorStatusSchema: z.ZodEnum<{
594
- BOND_STATUS_UNSPECIFIED: "BOND_STATUS_UNSPECIFIED";
595
- BOND_STATUS_UNBONDED: "BOND_STATUS_UNBONDED";
596
- BOND_STATUS_UNBONDING: "BOND_STATUS_UNBONDING";
597
- BOND_STATUS_BONDED: "BOND_STATUS_BONDED";
598
- }>;
599
- export type ValidatorStatus = z.infer<typeof ValidatorStatusSchema>;
600
- export declare const ConsensusPubkeySchema: z.ZodObject<{
601
- "@type": z.ZodString;
602
- key: z.ZodOptional<z.ZodString>;
603
- value: z.ZodOptional<z.ZodString>;
604
- }, z.core.$loose>;
605
- export type ConsensusPubkey = z.infer<typeof ConsensusPubkeySchema>;
606
- export declare const ValidatorSchema: z.ZodObject<{
607
- operator_address: z.ZodString;
608
- consensus_pubkey: z.ZodOptional<z.ZodObject<{
609
- "@type": z.ZodString;
610
- key: z.ZodOptional<z.ZodString>;
611
- value: z.ZodOptional<z.ZodString>;
612
- }, z.core.$loose>>;
613
- jailed: z.ZodBoolean;
614
- status: z.ZodEnum<{
615
- BOND_STATUS_UNSPECIFIED: "BOND_STATUS_UNSPECIFIED";
616
- BOND_STATUS_UNBONDED: "BOND_STATUS_UNBONDED";
617
- BOND_STATUS_UNBONDING: "BOND_STATUS_UNBONDING";
618
- BOND_STATUS_BONDED: "BOND_STATUS_BONDED";
619
- }>;
620
- tokens: z.ZodString;
621
- delegator_shares: z.ZodString;
622
- description: z.ZodObject<{
623
- moniker: z.ZodDefault<z.ZodString>;
624
- identity: z.ZodDefault<z.ZodString>;
625
- website: z.ZodDefault<z.ZodString>;
626
- security_contact: z.ZodDefault<z.ZodString>;
627
- details: z.ZodDefault<z.ZodString>;
628
- }, z.core.$strip>;
629
- unbonding_height: z.ZodString;
630
- unbonding_time: z.ZodString;
631
- commission: z.ZodObject<{
632
- commission_rates: z.ZodObject<{
633
- rate: z.ZodString;
634
- max_rate: z.ZodString;
635
- max_change_rate: z.ZodString;
636
- }, z.core.$strip>;
637
- update_time: z.ZodString;
638
- }, z.core.$strip>;
639
- min_self_delegation: z.ZodString;
640
- }, z.core.$strip>;
641
- export type Validator = z.infer<typeof ValidatorSchema>;
642
- export declare const DelegationSchema: z.ZodObject<{
643
- delegator_address: z.ZodString;
644
- validator_address: z.ZodString;
645
- shares: z.ZodString;
646
- }, z.core.$strip>;
647
- export type Delegation = z.infer<typeof DelegationSchema>;
648
- export declare const DelegationResponseSchema: z.ZodObject<{
649
- delegation: z.ZodObject<{
650
- delegator_address: z.ZodString;
651
- validator_address: z.ZodString;
652
- shares: z.ZodString;
653
- }, z.core.$strip>;
654
- balance: z.ZodObject<{
655
- denom: z.ZodString;
656
- amount: z.ZodString;
657
- }, z.core.$loose>;
658
- }, z.core.$strip>;
659
- export type DelegationResponse = z.infer<typeof DelegationResponseSchema>;
660
- export declare const UnbondingDelegationEntrySchema: z.ZodObject<{
661
- creation_height: z.ZodString;
662
- completion_time: z.ZodString;
663
- initial_balance: z.ZodString;
664
- balance: z.ZodString;
665
- unbonding_id: z.ZodOptional<z.ZodString>;
666
- unbonding_on_hold_ref_count: z.ZodOptional<z.ZodString>;
667
- }, z.core.$strip>;
668
- export type UnbondingDelegationEntry = z.infer<typeof UnbondingDelegationEntrySchema>;
669
- export declare const UnbondingDelegationSchema: z.ZodObject<{
670
- delegator_address: z.ZodString;
671
- validator_address: z.ZodString;
672
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
673
- creation_height: z.ZodString;
674
- completion_time: z.ZodString;
675
- initial_balance: z.ZodString;
676
- balance: z.ZodString;
677
- unbonding_id: z.ZodOptional<z.ZodString>;
678
- unbonding_on_hold_ref_count: z.ZodOptional<z.ZodString>;
679
- }, z.core.$strip>>>;
680
- }, z.core.$strip>;
681
- export type UnbondingDelegation = z.infer<typeof UnbondingDelegationSchema>;
682
- export declare const DecCoinSchema: z.ZodObject<{
683
- denom: z.ZodString;
684
- amount: z.ZodString;
685
- }, z.core.$strip>;
686
- export type DecCoin = z.infer<typeof DecCoinSchema>;
687
- export declare const DelegationRewardSchema: z.ZodObject<{
688
- validator_address: z.ZodString;
689
- reward: z.ZodDefault<z.ZodArray<z.ZodObject<{
690
- denom: z.ZodString;
691
- amount: z.ZodString;
692
- }, z.core.$strip>>>;
693
- }, z.core.$strip>;
694
- export type DelegationReward = z.infer<typeof DelegationRewardSchema>;
695
- export declare const StakingParamsSchema: z.ZodObject<{
696
- unbonding_time: z.ZodString;
697
- max_validators: z.ZodCoercedNumber<unknown>;
698
- max_entries: z.ZodCoercedNumber<unknown>;
699
- historical_entries: z.ZodCoercedNumber<unknown>;
700
- bond_denom: z.ZodString;
701
- min_commission_rate: z.ZodOptional<z.ZodString>;
702
- }, z.core.$strip>;
703
- export type StakingParams = z.infer<typeof StakingParamsSchema>;
704
- export declare const StakingPoolSchema: z.ZodObject<{
705
- not_bonded_tokens: z.ZodString;
706
- bonded_tokens: z.ZodString;
707
- }, z.core.$strip>;
708
- export type StakingPool = z.infer<typeof StakingPoolSchema>;
709
- export declare const ValidatorsResponseSchema: z.ZodObject<{
710
- validators: z.ZodDefault<z.ZodArray<z.ZodObject<{
711
- operator_address: z.ZodString;
712
- consensus_pubkey: z.ZodOptional<z.ZodObject<{
713
- "@type": z.ZodString;
714
- key: z.ZodOptional<z.ZodString>;
715
- value: z.ZodOptional<z.ZodString>;
716
- }, z.core.$loose>>;
717
- jailed: z.ZodBoolean;
718
- status: z.ZodEnum<{
719
- BOND_STATUS_UNSPECIFIED: "BOND_STATUS_UNSPECIFIED";
720
- BOND_STATUS_UNBONDED: "BOND_STATUS_UNBONDED";
721
- BOND_STATUS_UNBONDING: "BOND_STATUS_UNBONDING";
722
- BOND_STATUS_BONDED: "BOND_STATUS_BONDED";
723
- }>;
724
- tokens: z.ZodString;
725
- delegator_shares: z.ZodString;
726
- description: z.ZodObject<{
727
- moniker: z.ZodDefault<z.ZodString>;
728
- identity: z.ZodDefault<z.ZodString>;
729
- website: z.ZodDefault<z.ZodString>;
730
- security_contact: z.ZodDefault<z.ZodString>;
731
- details: z.ZodDefault<z.ZodString>;
732
- }, z.core.$strip>;
733
- unbonding_height: z.ZodString;
734
- unbonding_time: z.ZodString;
735
- commission: z.ZodObject<{
736
- commission_rates: z.ZodObject<{
737
- rate: z.ZodString;
738
- max_rate: z.ZodString;
739
- max_change_rate: z.ZodString;
740
- }, z.core.$strip>;
741
- update_time: z.ZodString;
742
- }, z.core.$strip>;
743
- min_self_delegation: z.ZodString;
744
- }, z.core.$strip>>>;
745
- pagination: z.ZodOptional<z.ZodObject<{
746
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
747
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
748
- }, z.core.$loose>>;
749
- }, z.core.$strip>;
750
- export type ValidatorsResponse = z.infer<typeof ValidatorsResponseSchema>;
751
- export declare const ValidatorResponseSchema: z.ZodObject<{
752
- validator: z.ZodObject<{
753
- operator_address: z.ZodString;
754
- consensus_pubkey: z.ZodOptional<z.ZodObject<{
755
- "@type": z.ZodString;
756
- key: z.ZodOptional<z.ZodString>;
757
- value: z.ZodOptional<z.ZodString>;
758
- }, z.core.$loose>>;
759
- jailed: z.ZodBoolean;
760
- status: z.ZodEnum<{
761
- BOND_STATUS_UNSPECIFIED: "BOND_STATUS_UNSPECIFIED";
762
- BOND_STATUS_UNBONDED: "BOND_STATUS_UNBONDED";
763
- BOND_STATUS_UNBONDING: "BOND_STATUS_UNBONDING";
764
- BOND_STATUS_BONDED: "BOND_STATUS_BONDED";
765
- }>;
766
- tokens: z.ZodString;
767
- delegator_shares: z.ZodString;
768
- description: z.ZodObject<{
769
- moniker: z.ZodDefault<z.ZodString>;
770
- identity: z.ZodDefault<z.ZodString>;
771
- website: z.ZodDefault<z.ZodString>;
772
- security_contact: z.ZodDefault<z.ZodString>;
773
- details: z.ZodDefault<z.ZodString>;
774
- }, z.core.$strip>;
775
- unbonding_height: z.ZodString;
776
- unbonding_time: z.ZodString;
777
- commission: z.ZodObject<{
778
- commission_rates: z.ZodObject<{
779
- rate: z.ZodString;
780
- max_rate: z.ZodString;
781
- max_change_rate: z.ZodString;
782
- }, z.core.$strip>;
783
- update_time: z.ZodString;
784
- }, z.core.$strip>;
785
- min_self_delegation: z.ZodString;
786
- }, z.core.$strip>;
787
- }, z.core.$strip>;
788
- export type ValidatorResponse = z.infer<typeof ValidatorResponseSchema>;
789
- export declare const DelegationsResponseSchema: z.ZodObject<{
790
- delegation_responses: z.ZodDefault<z.ZodArray<z.ZodObject<{
791
- delegation: z.ZodObject<{
792
- delegator_address: z.ZodString;
793
- validator_address: z.ZodString;
794
- shares: z.ZodString;
795
- }, z.core.$strip>;
796
- balance: z.ZodObject<{
797
- denom: z.ZodString;
798
- amount: z.ZodString;
799
- }, z.core.$loose>;
800
- }, z.core.$strip>>>;
801
- pagination: z.ZodOptional<z.ZodObject<{
802
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
803
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
804
- }, z.core.$loose>>;
805
- }, z.core.$strip>;
806
- export type DelegationsResponse = z.infer<typeof DelegationsResponseSchema>;
807
- export declare const DelegationResponseEnvelopeSchema: z.ZodObject<{
808
- delegation_response: z.ZodObject<{
809
- delegation: z.ZodObject<{
810
- delegator_address: z.ZodString;
811
- validator_address: z.ZodString;
812
- shares: z.ZodString;
813
- }, z.core.$strip>;
814
- balance: z.ZodObject<{
815
- denom: z.ZodString;
816
- amount: z.ZodString;
817
- }, z.core.$loose>;
818
- }, z.core.$strip>;
819
- }, z.core.$strip>;
820
- export type DelegationResponseEnvelope = z.infer<typeof DelegationResponseEnvelopeSchema>;
821
- export declare const UnbondingDelegationsResponseSchema: z.ZodObject<{
822
- unbonding_responses: z.ZodDefault<z.ZodArray<z.ZodObject<{
823
- delegator_address: z.ZodString;
824
- validator_address: z.ZodString;
825
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
826
- creation_height: z.ZodString;
827
- completion_time: z.ZodString;
828
- initial_balance: z.ZodString;
829
- balance: z.ZodString;
830
- unbonding_id: z.ZodOptional<z.ZodString>;
831
- unbonding_on_hold_ref_count: z.ZodOptional<z.ZodString>;
832
- }, z.core.$strip>>>;
833
- }, z.core.$strip>>>;
834
- pagination: z.ZodOptional<z.ZodObject<{
835
- next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
836
- total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
837
- }, z.core.$loose>>;
838
- }, z.core.$strip>;
839
- export type UnbondingDelegationsResponse = z.infer<typeof UnbondingDelegationsResponseSchema>;
840
- export declare const StakingRewardsResponseSchema: z.ZodObject<{
841
- rewards: z.ZodDefault<z.ZodArray<z.ZodObject<{
842
- validator_address: z.ZodString;
843
- reward: z.ZodDefault<z.ZodArray<z.ZodObject<{
844
- denom: z.ZodString;
845
- amount: z.ZodString;
846
- }, z.core.$strip>>>;
847
- }, z.core.$strip>>>;
848
- total: z.ZodDefault<z.ZodArray<z.ZodObject<{
849
- denom: z.ZodString;
850
- amount: z.ZodString;
851
- }, z.core.$strip>>>;
852
- }, z.core.$strip>;
853
- export type StakingRewardsResponse = z.infer<typeof StakingRewardsResponseSchema>;
854
- export declare const StakingParamsResponseSchema: z.ZodObject<{
855
- params: z.ZodObject<{
856
- unbonding_time: z.ZodString;
857
- max_validators: z.ZodCoercedNumber<unknown>;
858
- max_entries: z.ZodCoercedNumber<unknown>;
859
- historical_entries: z.ZodCoercedNumber<unknown>;
860
- bond_denom: z.ZodString;
861
- min_commission_rate: z.ZodOptional<z.ZodString>;
862
- }, z.core.$strip>;
863
- }, z.core.$strip>;
864
- export type StakingParamsResponse = z.infer<typeof StakingParamsResponseSchema>;
865
- export declare const StakingPoolResponseSchema: z.ZodObject<{
866
- pool: z.ZodObject<{
867
- not_bonded_tokens: z.ZodString;
868
- bonded_tokens: z.ZodString;
869
- }, z.core.$strip>;
870
- }, z.core.$strip>;
871
- export type StakingPoolResponse = z.infer<typeof StakingPoolResponseSchema>;
36
+ export { ProtoLicenseStatus as LicenseStatus };
37
+ export type License = ProtoLicense;
38
+ export type LicenseModuleParams = ProtoLicenseParams;
39
+ export type LicenseResponse = ProtoLicenseResponse;
40
+ export type LicensesResponse = ProtoLicensesResponse;
41
+ export type LicensesByOwnerResponse = ProtoLicensesByOwnerResponse;
42
+ export type BalanceResponse = ProtoBalanceResponse;
43
+ export type OwnerResponse = ProtoOwnerResponse;
44
+ export type TokenOfOwnerByIndexResponse = ProtoTokenOfOwnerByIndexResponse;
45
+ export type OwnedByResponse = ProtoOwnedByResponse;
46
+ export type TotalSupplyResponse = ProtoTotalSupplyResponse;
47
+ export type IsActiveResponse = ProtoIsActiveResponse;
48
+ export type LicenseParamsResponse = ProtoLicenseParamsResponse;
49
+ export type MintersResponse = ProtoMintersResponse;
50
+ export type TransferUnlockTimeResponse = ProtoTransferUnlockTimeResponse;
51
+ export type KycApproversResponse = ProtoKycApproversResponse;
52
+ export type ApprovedMembersResponse = ProtoApprovedMembersResponse;
53
+ export type IsApprovedMemberResponse = ProtoIsApprovedMemberResponse;
54
+ export type IsKycApproverResponse = ProtoIsKycApproverResponse;
55
+ export type MiningDelegation = ProtoMiningDelegation;
56
+ export type Operator = ProtoOperatorInfo;
57
+ export type LicenseMinerInfo = ProtoLicenseMinerInfoResponse;
58
+ export type OwnerKeyInfo = ProtoOwnerKeyResponse;
59
+ export type EmissionInfo = ProtoEmissionInfoResponse;
60
+ export type YearEmission = ProtoYearEmission;
61
+ export type MinerModuleParams = ProtoMinerParams;
62
+ export type EpochInfo = ProtoEpochInfo;
63
+ export type CurrentEpochResponse = ProtoCurrentEpochResponse;
64
+ export type BeaconResponse = ProtoBeaconResponse;
65
+ export type MinerParamsResponse = ProtoMinerParamsResponse;
66
+ export type EmissionScheduleResponse = ProtoEmissionScheduleResponse;
67
+ export type EpochInfoResponse = ProtoEpochInfoResponse;
68
+ export type EpochsResponse = ProtoEpochsResponse;
69
+ export type OperatorInfoResponse = ProtoOperatorInfoResponse;
70
+ export type OperatorsResponse = ProtoOperatorsResponse;
71
+ export type LicenseDelegationResponse = ProtoLicenseDelegationResponse;
72
+ export type DelegatedLicensesResponse = ProtoDelegatedLicensesResponse;
73
+ export { ProtoBondStatus as BondStatus, ProtoBondStatus as ValidatorStatus };
74
+ export type Validator = ProtoValidator;
75
+ export type ValidatorDescription = ProtoValidatorDescription;
76
+ export type ValidatorCommission = ProtoCommission;
77
+ export type ValidatorCommissionRates = ProtoCommissionRates;
78
+ export type ConsensusPubkey = ProtoAny;
79
+ export type Delegation = ProtoDelegation;
80
+ export type DelegationResponse = ProtoDelegationResponse;
81
+ export type UnbondingDelegation = ProtoUnbondingDelegation;
82
+ export type UnbondingDelegationEntry = ProtoUnbondingDelegationEntry;
83
+ export type DecCoin = ProtoDecCoin;
84
+ export type Coin = ProtoCoin;
85
+ export type DelegationReward = ProtoDelegationReward;
86
+ export type StakingParams = ProtoStakingParams;
87
+ export type StakingPool = ProtoStakingPool;
88
+ export type ValidatorsResponse = ProtoValidatorsResponse;
89
+ export type ValidatorResponse = ProtoValidatorResponse;
90
+ export type DelegationsResponse = ProtoDelegationsResponse;
91
+ export type DelegationResponseEnvelope = ProtoDelegationResponseEnvelope;
92
+ export type UnbondingDelegationsResponse = ProtoUnbondingDelegationsResponse;
93
+ export type StakingRewardsResponse = ProtoStakingRewardsResponse;
94
+ export type StakingParamsResponse = ProtoStakingParamsResponse;
95
+ export type StakingPoolResponse = ProtoStakingPoolResponse;