ault-sdk-ts 0.0.2-alpha.5
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.
- package/LICENSE +21 -0
- package/README.md +932 -0
- package/dist/agent/create-agent-client.d.ts +3 -0
- package/dist/agent/sign-and-broadcast.d.ts +38 -0
- package/dist/agent/tx/clob.d.ts +7 -0
- package/dist/agent/tx-executor.d.ts +17 -0
- package/dist/client.d.ts +61 -0
- package/dist/core/address.d.ts +14 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/clob-msgs.d.ts +33 -0
- package/dist/core/errors.d.ts +17 -0
- package/dist/core/http.d.ts +14 -0
- package/dist/core/network.d.ts +59 -0
- package/dist/core/pagination.d.ts +14 -0
- package/dist/core/query.d.ts +5 -0
- package/dist/core/with-status-fallback.d.ts +5 -0
- package/dist/eip712/builder.d.ts +45 -0
- package/dist/eip712/field-order.d.ts +2 -0
- package/dist/eip712/msg-encoders.generated.d.ts +1 -0
- package/dist/eip712/msg.generated.d.ts +109 -0
- package/dist/eip712/registry.d.ts +36 -0
- package/dist/eip712/registry.generated.d.ts +2 -0
- package/dist/eip712/sign-and-broadcast.d.ts +55 -0
- package/dist/eip712/signers.d.ts +83 -0
- package/dist/eip712/types.d.ts +58 -0
- package/dist/high-level/address-utils.d.ts +2 -0
- package/dist/high-level/create-client.d.ts +26 -0
- package/dist/high-level/query-helpers.d.ts +3 -0
- package/dist/high-level/signer.d.ts +6 -0
- package/dist/high-level/tx/agent.d.ts +3 -0
- package/dist/high-level/tx/authority.d.ts +3 -0
- package/dist/high-level/tx/clob.d.ts +3 -0
- package/dist/high-level/tx/context.d.ts +5 -0
- package/dist/high-level/tx/license.d.ts +3 -0
- package/dist/high-level/tx/market.d.ts +3 -0
- package/dist/high-level/tx/miner.d.ts +3 -0
- package/dist/high-level/tx/ratelimit.d.ts +3 -0
- package/dist/high-level/tx/reward.d.ts +3 -0
- package/dist/high-level/tx/staking.d.ts +3 -0
- package/dist/high-level/tx/tokenregistry.d.ts +3 -0
- package/dist/high-level/tx-executor.d.ts +18 -0
- package/dist/high-level/types.d.ts +477 -0
- package/dist/high-level-client.d.ts +2 -0
- package/dist/index.cjs +18434 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +18162 -0
- package/dist/index.js.map +1 -0
- package/dist/proto/duration-json.d.ts +6 -0
- package/dist/proto/gen/amino/amino.d.ts +1 -0
- package/dist/proto/gen/ault/agent/v1/agent.d.ts +63 -0
- package/dist/proto/gen/ault/agent/v1/genesis.d.ts +44 -0
- package/dist/proto/gen/ault/agent/v1/params.d.ts +42 -0
- package/dist/proto/gen/ault/agent/v1/query.d.ts +73 -0
- package/dist/proto/gen/ault/agent/v1/tx.d.ts +91 -0
- package/dist/proto/gen/ault/authority/v1/authority.d.ts +15 -0
- package/dist/proto/gen/ault/authority/v1/genesis.d.ts +36 -0
- package/dist/proto/gen/ault/authority/v1/query.d.ts +53 -0
- package/dist/proto/gen/ault/authority/v1/tx.d.ts +50 -0
- package/dist/proto/gen/ault/clob/v1/fee.d.ts +37 -0
- package/dist/proto/gen/ault/clob/v1/genesis.d.ts +56 -0
- package/dist/proto/gen/ault/clob/v1/order_book.d.ts +32 -0
- package/dist/proto/gen/ault/clob/v1/params.d.ts +29 -0
- package/dist/proto/gen/ault/clob/v1/query.d.ts +56 -0
- package/dist/proto/gen/ault/clob/v1/tx.d.ts +116 -0
- package/dist/proto/gen/ault/license/v1/genesis.d.ts +140 -0
- package/dist/proto/gen/ault/license/v1/license.d.ts +151 -0
- package/dist/proto/gen/ault/license/v1/query.d.ts +273 -0
- package/dist/proto/gen/ault/license/v1/tx.d.ts +227 -0
- package/dist/proto/gen/ault/market/v1/genesis.d.ts +28 -0
- package/dist/proto/gen/ault/market/v1/market.d.ts +66 -0
- package/dist/proto/gen/ault/market/v1/params.d.ts +34 -0
- package/dist/proto/gen/ault/market/v1/query.d.ts +48 -0
- package/dist/proto/gen/ault/market/v1/tx.d.ts +87 -0
- package/dist/proto/gen/ault/miner/v1/genesis.d.ts +166 -0
- package/dist/proto/gen/ault/miner/v1/miner.d.ts +232 -0
- package/dist/proto/gen/ault/miner/v1/query.d.ts +254 -0
- package/dist/proto/gen/ault/miner/v1/tx.d.ts +207 -0
- package/dist/proto/gen/ault/ratelimit/v1/genesis.d.ts +27 -0
- package/dist/proto/gen/ault/ratelimit/v1/params.d.ts +35 -0
- package/dist/proto/gen/ault/ratelimit/v1/query.d.ts +42 -0
- package/dist/proto/gen/ault/ratelimit/v1/tx.d.ts +32 -0
- package/dist/proto/gen/ault/reward/v1/genesis.d.ts +67 -0
- package/dist/proto/gen/ault/reward/v1/query.d.ts +93 -0
- package/dist/proto/gen/ault/reward/v1/reward.d.ts +53 -0
- package/dist/proto/gen/ault/reward/v1/tx.d.ts +120 -0
- package/dist/proto/gen/ault/spot/v1/genesis.d.ts +26 -0
- package/dist/proto/gen/ault/spot/v1/order.d.ts +66 -0
- package/dist/proto/gen/ault/tokenregistry/v1/genesis.d.ts +34 -0
- package/dist/proto/gen/ault/tokenregistry/v1/query.d.ts +77 -0
- package/dist/proto/gen/ault/tokenregistry/v1/tokenregistry.d.ts +118 -0
- package/dist/proto/gen/ault/tokenregistry/v1/tx.d.ts +132 -0
- package/dist/proto/gen/cosmos/base/query/v1beta1/pagination.d.ts +82 -0
- package/dist/proto/gen/cosmos/base/v1beta1/coin.d.ts +59 -0
- package/dist/proto/gen/cosmos/distribution/v1beta1/distribution.d.ts +162 -0
- package/dist/proto/gen/cosmos/distribution/v1beta1/tx.d.ts +140 -0
- package/dist/proto/gen/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/proto/gen/cosmos/staking/v1beta1/staking.d.ts +310 -0
- package/dist/proto/gen/cosmos/staking/v1beta1/tx.d.ts +144 -0
- package/dist/proto/gen/cosmos_proto/cosmos.d.ts +80 -0
- package/dist/proto/gen/gogoproto/gogo.d.ts +1 -0
- package/dist/proto/gen/google/api/annotations.d.ts +1 -0
- package/dist/proto/gen/google/api/http.d.ts +379 -0
- package/dist/proto/gen/google/protobuf/any.d.ts +144 -0
- package/dist/proto/gen/google/protobuf/descriptor.d.ts +1285 -0
- package/dist/proto/gen/google/protobuf/duration.d.ts +99 -0
- package/dist/proto/gen/google/protobuf/timestamp.d.ts +128 -0
- package/dist/proto/gen/tendermint/abci/types.d.ts +507 -0
- package/dist/proto/gen/tendermint/crypto/keys.d.ts +27 -0
- package/dist/proto/gen/tendermint/crypto/proof.d.ts +57 -0
- package/dist/proto/gen/tendermint/types/params.d.ts +112 -0
- package/dist/proto/gen/tendermint/types/types.d.ts +197 -0
- package/dist/proto/gen/tendermint/types/validator.d.ts +54 -0
- package/dist/proto/gen/tendermint/version/types.d.ts +41 -0
- package/dist/proto/tx-encode.d.ts +78 -0
- package/dist/rest/agent.d.ts +12 -0
- package/dist/rest/authority.d.ts +12 -0
- package/dist/rest/clob.d.ts +11 -0
- package/dist/rest/context.d.ts +22 -0
- package/dist/rest/dex-fetcher.d.ts +10 -0
- package/dist/rest/dex-types.generated.d.ts +780 -0
- package/dist/rest/dex.d.ts +34 -0
- package/dist/rest/dex.generated.d.ts +1381 -0
- package/dist/rest/license.d.ts +79 -0
- package/dist/rest/market.d.ts +11 -0
- package/dist/rest/miner.d.ts +59 -0
- package/dist/rest/ratelimit.d.ts +7 -0
- package/dist/rest/reward.d.ts +25 -0
- package/dist/rest/staking.d.ts +38 -0
- package/dist/rest/tokenregistry.d.ts +11 -0
- package/dist/rest/types.d.ts +871 -0
- package/dist/utils/address.d.ts +6 -0
- package/dist/utils/chain-id.d.ts +1 -0
- package/dist/utils/cosmos-dec.d.ts +2 -0
- package/dist/ws/client.d.ts +37 -0
- package/dist/ws/index.d.ts +5 -0
- package/dist/ws/types.d.ts +66 -0
- package/package.json +103 -0
|
@@ -0,0 +1,871 @@
|
|
|
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>;
|
|
197
|
+
export declare const PageResponseSchema: z.ZodObject<{
|
|
198
|
+
next_key: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
199
|
+
total: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
200
|
+
}, z.core.$loose>;
|
|
201
|
+
export type PageResponse = z.infer<typeof PageResponseSchema>;
|
|
202
|
+
export interface PaginationParams {
|
|
203
|
+
"pagination.key"?: string;
|
|
204
|
+
"pagination.offset"?: string | number;
|
|
205
|
+
"pagination.limit"?: string | number;
|
|
206
|
+
"pagination.count_total"?: boolean;
|
|
207
|
+
"pagination.reverse"?: boolean;
|
|
208
|
+
}
|
|
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>;
|