@zoguxprotocol/proto 0.1.0 → 0.1.1
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/package.json +1 -1
- package/src/codegen/cosmos/bundle.ts +126 -126
- package/src/codegen/zogux/bridge/token.ts +24 -6
- package/src/codegen/zogux/bundle.ts +174 -165
- package/src/codegen/zogux/clob/clob_pair.ts +10 -24
- package/src/codegen/zogux/feetiers/genesis.ts +16 -2
- package/src/codegen/zogux/feetiers/params.ts +182 -0
- package/src/codegen/zogux/feetiers/query.lcd.ts +9 -1
- package/src/codegen/zogux/feetiers/query.rpc.Query.ts +15 -1
- package/src/codegen/zogux/feetiers/query.ts +108 -1
- package/src/codegen/zogux/feetiers/tx.rpc.msg.ts +11 -1
- package/src/codegen/zogux/feetiers/tx.ts +116 -1
- package/src/codegen/zogux/indexer/events/events.ts +182 -0
- package/src/codegen/zogux/ratelimit/limit_params.ts +1 -1
- package/src/codegen/zogux/spots/fee_tier.ts +114 -0
- package/src/codegen/zogux/spots/genesis.ts +84 -0
- package/src/codegen/zogux/spots/market.ts +162 -0
- package/src/codegen/zogux/spots/price.ts +86 -0
- package/src/codegen/zogux/token/query.ts +12 -0
- package/src/codegen/zogux/token/tx.ts +1 -0
package/package.json
CHANGED
|
@@ -124,69 +124,69 @@ import * as _124 from "./upgrade/v1beta1/upgrade";
|
|
|
124
124
|
import * as _125 from "./vesting/module/v1/module";
|
|
125
125
|
import * as _126 from "./vesting/v1beta1/tx";
|
|
126
126
|
import * as _127 from "./vesting/v1beta1/vesting";
|
|
127
|
-
import * as
|
|
128
|
-
import * as
|
|
129
|
-
import * as
|
|
130
|
-
import * as
|
|
131
|
-
import * as
|
|
132
|
-
import * as
|
|
133
|
-
import * as
|
|
134
|
-
import * as
|
|
135
|
-
import * as
|
|
136
|
-
import * as
|
|
137
|
-
import * as
|
|
138
|
-
import * as
|
|
139
|
-
import * as
|
|
140
|
-
import * as
|
|
141
|
-
import * as
|
|
142
|
-
import * as
|
|
143
|
-
import * as
|
|
144
|
-
import * as
|
|
145
|
-
import * as
|
|
146
|
-
import * as
|
|
147
|
-
import * as
|
|
148
|
-
import * as
|
|
149
|
-
import * as
|
|
150
|
-
import * as
|
|
151
|
-
import * as
|
|
152
|
-
import * as
|
|
153
|
-
import * as
|
|
154
|
-
import * as
|
|
155
|
-
import * as
|
|
156
|
-
import * as
|
|
157
|
-
import * as
|
|
158
|
-
import * as
|
|
159
|
-
import * as
|
|
160
|
-
import * as
|
|
161
|
-
import * as
|
|
162
|
-
import * as
|
|
163
|
-
import * as
|
|
164
|
-
import * as
|
|
165
|
-
import * as
|
|
166
|
-
import * as
|
|
167
|
-
import * as
|
|
168
|
-
import * as
|
|
169
|
-
import * as
|
|
170
|
-
import * as
|
|
171
|
-
import * as
|
|
172
|
-
import * as
|
|
173
|
-
import * as
|
|
174
|
-
import * as
|
|
175
|
-
import * as
|
|
176
|
-
import * as
|
|
177
|
-
import * as
|
|
178
|
-
import * as
|
|
179
|
-
import * as
|
|
180
|
-
import * as
|
|
181
|
-
import * as
|
|
182
|
-
import * as
|
|
183
|
-
import * as
|
|
184
|
-
import * as
|
|
185
|
-
import * as
|
|
186
|
-
import * as
|
|
187
|
-
import * as
|
|
188
|
-
import * as
|
|
189
|
-
import * as
|
|
127
|
+
import * as _286 from "./auth/v1beta1/query.lcd";
|
|
128
|
+
import * as _287 from "./authz/v1beta1/query.lcd";
|
|
129
|
+
import * as _288 from "./bank/v1beta1/query.lcd";
|
|
130
|
+
import * as _289 from "./base/node/v1beta1/query.lcd";
|
|
131
|
+
import * as _290 from "./base/tendermint/v1beta1/query.lcd";
|
|
132
|
+
import * as _291 from "./circuit/v1/query.lcd";
|
|
133
|
+
import * as _292 from "./consensus/v1/query.lcd";
|
|
134
|
+
import * as _293 from "./distribution/v1beta1/query.lcd";
|
|
135
|
+
import * as _294 from "./evidence/v1beta1/query.lcd";
|
|
136
|
+
import * as _295 from "./feegrant/v1beta1/query.lcd";
|
|
137
|
+
import * as _296 from "./gov/v1/query.lcd";
|
|
138
|
+
import * as _297 from "./gov/v1beta1/query.lcd";
|
|
139
|
+
import * as _298 from "./group/v1/query.lcd";
|
|
140
|
+
import * as _299 from "./mint/v1beta1/query.lcd";
|
|
141
|
+
import * as _300 from "./nft/v1beta1/query.lcd";
|
|
142
|
+
import * as _301 from "./params/v1beta1/query.lcd";
|
|
143
|
+
import * as _302 from "./slashing/v1beta1/query.lcd";
|
|
144
|
+
import * as _303 from "./staking/v1beta1/query.lcd";
|
|
145
|
+
import * as _304 from "./tx/v1beta1/service.lcd";
|
|
146
|
+
import * as _305 from "./upgrade/v1beta1/query.lcd";
|
|
147
|
+
import * as _306 from "./app/v1alpha1/query.rpc.Query";
|
|
148
|
+
import * as _307 from "./auth/v1beta1/query.rpc.Query";
|
|
149
|
+
import * as _308 from "./authz/v1beta1/query.rpc.Query";
|
|
150
|
+
import * as _309 from "./bank/v1beta1/query.rpc.Query";
|
|
151
|
+
import * as _310 from "./base/node/v1beta1/query.rpc.Service";
|
|
152
|
+
import * as _311 from "./base/tendermint/v1beta1/query.rpc.Service";
|
|
153
|
+
import * as _312 from "./circuit/v1/query.rpc.Query";
|
|
154
|
+
import * as _313 from "./consensus/v1/query.rpc.Query";
|
|
155
|
+
import * as _314 from "./distribution/v1beta1/query.rpc.Query";
|
|
156
|
+
import * as _315 from "./evidence/v1beta1/query.rpc.Query";
|
|
157
|
+
import * as _316 from "./feegrant/v1beta1/query.rpc.Query";
|
|
158
|
+
import * as _317 from "./gov/v1/query.rpc.Query";
|
|
159
|
+
import * as _318 from "./gov/v1beta1/query.rpc.Query";
|
|
160
|
+
import * as _319 from "./group/v1/query.rpc.Query";
|
|
161
|
+
import * as _320 from "./mint/v1beta1/query.rpc.Query";
|
|
162
|
+
import * as _321 from "./nft/v1beta1/query.rpc.Query";
|
|
163
|
+
import * as _322 from "./orm/query/v1alpha1/query.rpc.Query";
|
|
164
|
+
import * as _323 from "./params/v1beta1/query.rpc.Query";
|
|
165
|
+
import * as _324 from "./slashing/v1beta1/query.rpc.Query";
|
|
166
|
+
import * as _325 from "./staking/v1beta1/query.rpc.Query";
|
|
167
|
+
import * as _326 from "./tx/v1beta1/service.rpc.Service";
|
|
168
|
+
import * as _327 from "./upgrade/v1beta1/query.rpc.Query";
|
|
169
|
+
import * as _328 from "./auth/v1beta1/tx.rpc.msg";
|
|
170
|
+
import * as _329 from "./authz/v1beta1/tx.rpc.msg";
|
|
171
|
+
import * as _330 from "./bank/v1beta1/tx.rpc.msg";
|
|
172
|
+
import * as _331 from "./circuit/v1/tx.rpc.msg";
|
|
173
|
+
import * as _332 from "./consensus/v1/tx.rpc.msg";
|
|
174
|
+
import * as _333 from "./crisis/v1beta1/tx.rpc.msg";
|
|
175
|
+
import * as _334 from "./distribution/v1beta1/tx.rpc.msg";
|
|
176
|
+
import * as _335 from "./evidence/v1beta1/tx.rpc.msg";
|
|
177
|
+
import * as _336 from "./feegrant/v1beta1/tx.rpc.msg";
|
|
178
|
+
import * as _337 from "./gov/v1/tx.rpc.msg";
|
|
179
|
+
import * as _338 from "./gov/v1beta1/tx.rpc.msg";
|
|
180
|
+
import * as _339 from "./group/v1/tx.rpc.msg";
|
|
181
|
+
import * as _340 from "./mint/v1beta1/tx.rpc.msg";
|
|
182
|
+
import * as _341 from "./nft/v1beta1/tx.rpc.msg";
|
|
183
|
+
import * as _342 from "./slashing/v1beta1/tx.rpc.msg";
|
|
184
|
+
import * as _343 from "./staking/v1beta1/tx.rpc.msg";
|
|
185
|
+
import * as _344 from "./upgrade/v1beta1/tx.rpc.msg";
|
|
186
|
+
import * as _345 from "./vesting/v1beta1/tx.rpc.msg";
|
|
187
|
+
import * as _407 from "./lcd";
|
|
188
|
+
import * as _408 from "./rpc.query";
|
|
189
|
+
import * as _409 from "./rpc.tx";
|
|
190
190
|
export namespace cosmos {
|
|
191
191
|
export namespace app {
|
|
192
192
|
export namespace runtime {
|
|
@@ -196,7 +196,7 @@ export namespace cosmos {
|
|
|
196
196
|
export const v1alpha1 = { ..._3,
|
|
197
197
|
..._4,
|
|
198
198
|
..._5,
|
|
199
|
-
...
|
|
199
|
+
..._306
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
export namespace auth {
|
|
@@ -208,9 +208,9 @@ export namespace cosmos {
|
|
|
208
208
|
..._8,
|
|
209
209
|
..._9,
|
|
210
210
|
..._10,
|
|
211
|
-
...
|
|
212
|
-
...
|
|
213
|
-
...
|
|
211
|
+
..._286,
|
|
212
|
+
..._307,
|
|
213
|
+
..._328
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
export namespace authz {
|
|
@@ -223,9 +223,9 @@ export namespace cosmos {
|
|
|
223
223
|
..._14,
|
|
224
224
|
..._15,
|
|
225
225
|
..._16,
|
|
226
|
-
...
|
|
227
|
-
...
|
|
228
|
-
...
|
|
226
|
+
..._287,
|
|
227
|
+
..._308,
|
|
228
|
+
..._329
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
export namespace bank {
|
|
@@ -238,9 +238,9 @@ export namespace cosmos {
|
|
|
238
238
|
..._20,
|
|
239
239
|
..._21,
|
|
240
240
|
..._22,
|
|
241
|
-
...
|
|
242
|
-
...
|
|
243
|
-
...
|
|
241
|
+
..._288,
|
|
242
|
+
..._309,
|
|
243
|
+
..._330
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
export namespace base {
|
|
@@ -250,8 +250,8 @@ export namespace cosmos {
|
|
|
250
250
|
}
|
|
251
251
|
export namespace node {
|
|
252
252
|
export const v1beta1 = { ..._24,
|
|
253
|
-
...
|
|
254
|
-
...
|
|
253
|
+
..._289,
|
|
254
|
+
..._310
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
export namespace query {
|
|
@@ -267,8 +267,8 @@ export namespace cosmos {
|
|
|
267
267
|
export namespace tendermint {
|
|
268
268
|
export const v1beta1 = { ..._28,
|
|
269
269
|
..._29,
|
|
270
|
-
...
|
|
271
|
-
...
|
|
270
|
+
..._290,
|
|
271
|
+
..._311
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
export const v1beta1 = { ..._30
|
|
@@ -282,9 +282,9 @@ export namespace cosmos {
|
|
|
282
282
|
export const v1 = { ..._32,
|
|
283
283
|
..._33,
|
|
284
284
|
..._34,
|
|
285
|
-
...
|
|
286
|
-
...
|
|
287
|
-
...
|
|
285
|
+
..._291,
|
|
286
|
+
..._312,
|
|
287
|
+
..._331
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
export namespace consensus {
|
|
@@ -294,9 +294,9 @@ export namespace cosmos {
|
|
|
294
294
|
}
|
|
295
295
|
export const v1 = { ..._36,
|
|
296
296
|
..._37,
|
|
297
|
-
...
|
|
298
|
-
...
|
|
299
|
-
...
|
|
297
|
+
..._292,
|
|
298
|
+
..._313,
|
|
299
|
+
..._332
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
export namespace crisis {
|
|
@@ -306,7 +306,7 @@ export namespace cosmos {
|
|
|
306
306
|
}
|
|
307
307
|
export const v1beta1 = { ..._39,
|
|
308
308
|
..._40,
|
|
309
|
-
...
|
|
309
|
+
..._333
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
export namespace crypto {
|
|
@@ -336,9 +336,9 @@ export namespace cosmos {
|
|
|
336
336
|
..._49,
|
|
337
337
|
..._50,
|
|
338
338
|
..._51,
|
|
339
|
-
...
|
|
340
|
-
...
|
|
341
|
-
...
|
|
339
|
+
..._293,
|
|
340
|
+
..._314,
|
|
341
|
+
..._334
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
export namespace evidence {
|
|
@@ -350,9 +350,9 @@ export namespace cosmos {
|
|
|
350
350
|
..._54,
|
|
351
351
|
..._55,
|
|
352
352
|
..._56,
|
|
353
|
-
...
|
|
354
|
-
...
|
|
355
|
-
...
|
|
353
|
+
..._294,
|
|
354
|
+
..._315,
|
|
355
|
+
..._335
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
358
|
export namespace feegrant {
|
|
@@ -364,9 +364,9 @@ export namespace cosmos {
|
|
|
364
364
|
..._59,
|
|
365
365
|
..._60,
|
|
366
366
|
..._61,
|
|
367
|
-
...
|
|
368
|
-
...
|
|
369
|
-
...
|
|
367
|
+
..._295,
|
|
368
|
+
..._316,
|
|
369
|
+
..._336
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
export namespace genutil {
|
|
@@ -386,17 +386,17 @@ export namespace cosmos {
|
|
|
386
386
|
..._66,
|
|
387
387
|
..._67,
|
|
388
388
|
..._68,
|
|
389
|
-
...
|
|
390
|
-
...
|
|
391
|
-
...
|
|
389
|
+
..._296,
|
|
390
|
+
..._317,
|
|
391
|
+
..._337
|
|
392
392
|
};
|
|
393
393
|
export const v1beta1 = { ..._69,
|
|
394
394
|
..._70,
|
|
395
395
|
..._71,
|
|
396
396
|
..._72,
|
|
397
|
-
...
|
|
398
|
-
...
|
|
399
|
-
...
|
|
397
|
+
..._297,
|
|
398
|
+
..._318,
|
|
399
|
+
..._338
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
402
|
export namespace group {
|
|
@@ -409,9 +409,9 @@ export namespace cosmos {
|
|
|
409
409
|
..._76,
|
|
410
410
|
..._77,
|
|
411
411
|
..._78,
|
|
412
|
-
...
|
|
413
|
-
...
|
|
414
|
-
...
|
|
412
|
+
..._298,
|
|
413
|
+
..._319,
|
|
414
|
+
..._339
|
|
415
415
|
};
|
|
416
416
|
}
|
|
417
417
|
export namespace mint {
|
|
@@ -423,9 +423,9 @@ export namespace cosmos {
|
|
|
423
423
|
..._81,
|
|
424
424
|
..._82,
|
|
425
425
|
..._83,
|
|
426
|
-
...
|
|
427
|
-
...
|
|
428
|
-
...
|
|
426
|
+
..._299,
|
|
427
|
+
..._320,
|
|
428
|
+
..._340
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
export namespace msg {
|
|
@@ -446,9 +446,9 @@ export namespace cosmos {
|
|
|
446
446
|
..._89,
|
|
447
447
|
..._90,
|
|
448
448
|
..._91,
|
|
449
|
-
...
|
|
450
|
-
...
|
|
451
|
-
...
|
|
449
|
+
..._300,
|
|
450
|
+
..._321,
|
|
451
|
+
..._341
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
454
|
export namespace orm {
|
|
@@ -458,7 +458,7 @@ export namespace cosmos {
|
|
|
458
458
|
}
|
|
459
459
|
export namespace query {
|
|
460
460
|
export const v1alpha1 = { ..._93,
|
|
461
|
-
...
|
|
461
|
+
..._322
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
export const v1 = { ..._94
|
|
@@ -473,8 +473,8 @@ export namespace cosmos {
|
|
|
473
473
|
}
|
|
474
474
|
export const v1beta1 = { ..._97,
|
|
475
475
|
..._98,
|
|
476
|
-
...
|
|
477
|
-
...
|
|
476
|
+
..._301,
|
|
477
|
+
..._323
|
|
478
478
|
};
|
|
479
479
|
}
|
|
480
480
|
export namespace query {
|
|
@@ -494,9 +494,9 @@ export namespace cosmos {
|
|
|
494
494
|
..._103,
|
|
495
495
|
..._104,
|
|
496
496
|
..._105,
|
|
497
|
-
...
|
|
498
|
-
...
|
|
499
|
-
...
|
|
497
|
+
..._302,
|
|
498
|
+
..._324,
|
|
499
|
+
..._342
|
|
500
500
|
};
|
|
501
501
|
}
|
|
502
502
|
export namespace staking {
|
|
@@ -509,9 +509,9 @@ export namespace cosmos {
|
|
|
509
509
|
..._109,
|
|
510
510
|
..._110,
|
|
511
511
|
..._111,
|
|
512
|
-
...
|
|
513
|
-
...
|
|
514
|
-
...
|
|
512
|
+
..._303,
|
|
513
|
+
..._325,
|
|
514
|
+
..._343
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
517
|
export namespace store {
|
|
@@ -544,8 +544,8 @@ export namespace cosmos {
|
|
|
544
544
|
}
|
|
545
545
|
export const v1beta1 = { ..._119,
|
|
546
546
|
..._120,
|
|
547
|
-
...
|
|
548
|
-
...
|
|
547
|
+
..._304,
|
|
548
|
+
..._326
|
|
549
549
|
};
|
|
550
550
|
}
|
|
551
551
|
export namespace upgrade {
|
|
@@ -556,9 +556,9 @@ export namespace cosmos {
|
|
|
556
556
|
export const v1beta1 = { ..._122,
|
|
557
557
|
..._123,
|
|
558
558
|
..._124,
|
|
559
|
-
...
|
|
560
|
-
...
|
|
561
|
-
...
|
|
559
|
+
..._305,
|
|
560
|
+
..._327,
|
|
561
|
+
..._344
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
564
|
export namespace vesting {
|
|
@@ -568,11 +568,11 @@ export namespace cosmos {
|
|
|
568
568
|
}
|
|
569
569
|
export const v1beta1 = { ..._126,
|
|
570
570
|
..._127,
|
|
571
|
-
...
|
|
571
|
+
..._345
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
|
-
export const ClientFactory = { ...
|
|
575
|
-
...
|
|
576
|
-
...
|
|
574
|
+
export const ClientFactory = { ..._407,
|
|
575
|
+
..._408,
|
|
576
|
+
..._409
|
|
577
577
|
};
|
|
578
578
|
}
|
|
@@ -31,7 +31,10 @@ export interface TokenInfoSDKType {
|
|
|
31
31
|
decimals: number;
|
|
32
32
|
is_wrapped: boolean;
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* TokenPair maps a source token to a destination token for cross-chain
|
|
36
|
+
* transfers.
|
|
37
|
+
*/
|
|
35
38
|
|
|
36
39
|
export interface TokenPair {
|
|
37
40
|
/** Source token information. */
|
|
@@ -40,7 +43,10 @@ export interface TokenPair {
|
|
|
40
43
|
|
|
41
44
|
dstToken?: TokenInfo;
|
|
42
45
|
}
|
|
43
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* TokenPair maps a source token to a destination token for cross-chain
|
|
48
|
+
* transfers.
|
|
49
|
+
*/
|
|
44
50
|
|
|
45
51
|
export interface TokenPairSDKType {
|
|
46
52
|
src_token?: TokenInfoSDKType;
|
|
@@ -186,7 +192,10 @@ export interface QueryAllTokensResponse {
|
|
|
186
192
|
export interface QueryAllTokensResponseSDKType {
|
|
187
193
|
tokens: TokenInfoSDKType[];
|
|
188
194
|
}
|
|
189
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* QueryTokenPairsBySourceRequest is the request for querying token pairs by
|
|
197
|
+
* source token.
|
|
198
|
+
*/
|
|
190
199
|
|
|
191
200
|
export interface QueryTokenPairsBySourceRequest {
|
|
192
201
|
/** Source chain ID. */
|
|
@@ -195,19 +204,28 @@ export interface QueryTokenPairsBySourceRequest {
|
|
|
195
204
|
|
|
196
205
|
srcTokenAddress: string;
|
|
197
206
|
}
|
|
198
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* QueryTokenPairsBySourceRequest is the request for querying token pairs by
|
|
209
|
+
* source token.
|
|
210
|
+
*/
|
|
199
211
|
|
|
200
212
|
export interface QueryTokenPairsBySourceRequestSDKType {
|
|
201
213
|
src_chain_id: Long;
|
|
202
214
|
src_token_address: string;
|
|
203
215
|
}
|
|
204
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* QueryTokenPairsBySourceResponse is the response for querying token pairs by
|
|
218
|
+
* source.
|
|
219
|
+
*/
|
|
205
220
|
|
|
206
221
|
export interface QueryTokenPairsBySourceResponse {
|
|
207
222
|
/** List of token pairs with this source token. */
|
|
208
223
|
tokenPairs: TokenPair[];
|
|
209
224
|
}
|
|
210
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* QueryTokenPairsBySourceResponse is the response for querying token pairs by
|
|
227
|
+
* source.
|
|
228
|
+
*/
|
|
211
229
|
|
|
212
230
|
export interface QueryTokenPairsBySourceResponseSDKType {
|
|
213
231
|
token_pairs: TokenPairSDKType[];
|