@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.30

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 (77) hide show
  1. package/akash/bme/v1/events.d.ts +332 -0
  2. package/akash/bme/v1/events.js +500 -0
  3. package/akash/bme/v1/filters.d.ts +80 -0
  4. package/akash/bme/v1/filters.js +110 -0
  5. package/akash/bme/v1/genesis.d.ts +271 -0
  6. package/akash/bme/v1/genesis.js +452 -0
  7. package/akash/bme/v1/msgs.d.ts +585 -0
  8. package/akash/bme/v1/msgs.js +867 -0
  9. package/akash/bme/v1/params.d.ts +147 -0
  10. package/akash/bme/v1/params.js +174 -0
  11. package/akash/bme/v1/query.d.ts +508 -0
  12. package/akash/bme/v1/query.js +727 -0
  13. package/akash/bme/v1/query.lcd.d.ts +12 -0
  14. package/akash/bme/v1/query.lcd.js +41 -0
  15. package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
  16. package/akash/bme/v1/query.rpc.Query.js +56 -0
  17. package/akash/bme/v1/service.amino.d.ts +28 -0
  18. package/akash/bme/v1/service.amino.js +32 -0
  19. package/akash/bme/v1/service.d.ts +1 -0
  20. package/akash/bme/v1/service.js +2 -0
  21. package/akash/bme/v1/service.registry.d.ts +73 -0
  22. package/akash/bme/v1/service.registry.js +109 -0
  23. package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
  24. package/akash/bme/v1/service.rpc.msg.js +55 -0
  25. package/akash/bme/v1/types.d.ts +766 -0
  26. package/akash/bme/v1/types.js +1283 -0
  27. package/akash/bundle.d.ts +3317 -2680
  28. package/akash/bundle.js +294 -263
  29. package/akash/client.d.ts +25 -0
  30. package/akash/client.js +4 -1
  31. package/akash/lcd.d.ts +3 -0
  32. package/akash/lcd.js +5 -0
  33. package/akash/rpc.query.d.ts +8 -0
  34. package/akash/rpc.query.js +3 -0
  35. package/akash/rpc.tx.d.ts +3 -0
  36. package/akash/rpc.tx.js +3 -0
  37. package/amino/bundle.js +2 -2
  38. package/cosmos/bundle.d.ts +7545 -7545
  39. package/cosmos/bundle.js +416 -416
  40. package/cosmos_proto/bundle.d.ts +23 -23
  41. package/cosmos_proto/bundle.js +2 -2
  42. package/esm/akash/bme/v1/events.js +497 -0
  43. package/esm/akash/bme/v1/filters.js +107 -0
  44. package/esm/akash/bme/v1/genesis.js +449 -0
  45. package/esm/akash/bme/v1/msgs.js +864 -0
  46. package/esm/akash/bme/v1/params.js +171 -0
  47. package/esm/akash/bme/v1/query.js +724 -0
  48. package/esm/akash/bme/v1/query.lcd.js +37 -0
  49. package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
  50. package/esm/akash/bme/v1/service.amino.js +29 -0
  51. package/esm/akash/bme/v1/service.js +1 -0
  52. package/esm/akash/bme/v1/service.registry.js +105 -0
  53. package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
  54. package/esm/akash/bme/v1/types.js +1274 -0
  55. package/esm/akash/bundle.js +294 -263
  56. package/esm/akash/client.js +4 -1
  57. package/esm/akash/lcd.js +5 -0
  58. package/esm/akash/rpc.query.js +3 -0
  59. package/esm/akash/rpc.tx.js +3 -0
  60. package/esm/amino/bundle.js +2 -2
  61. package/esm/cosmos/bundle.js +416 -416
  62. package/esm/cosmos_proto/bundle.js +2 -2
  63. package/esm/gogoproto/bundle.js +2 -2
  64. package/esm/google/bundle.js +8 -8
  65. package/esm/ibc/bundle.js +224 -224
  66. package/esm/sparkdream/bundle.js +486 -486
  67. package/esm/tendermint/bundle.js +20 -20
  68. package/gogoproto/bundle.js +2 -2
  69. package/google/bundle.d.ts +431 -431
  70. package/google/bundle.js +8 -8
  71. package/ibc/bundle.d.ts +3843 -3843
  72. package/ibc/bundle.js +224 -224
  73. package/package.json +1 -1
  74. package/sparkdream/bundle.d.ts +17352 -17352
  75. package/sparkdream/bundle.js +486 -486
  76. package/tendermint/bundle.d.ts +844 -844
  77. package/tendermint/bundle.js +20 -20
@@ -0,0 +1,766 @@
1
+ import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { DeepPartial } from "../../../helpers";
4
+ /** MintStatus indicates the current state of mint */
5
+ export declare enum MintStatus {
6
+ /** mint_status_unspecified - MINT_STATUS_UNSPECIFIED is the default value */
7
+ mint_status_unspecified = 0,
8
+ /** mint_status_healthy - MINT_STATUS_HEALTHY indicates normal operation (CR > warn threshold) */
9
+ mint_status_healthy = 1,
10
+ /** mint_status_warning - MINT_STATUS_WARNING indicates CR is below warning threshold */
11
+ mint_status_warning = 2,
12
+ /** mint_status_halt_cr - MINT_STATUS_HALT_CR indicates CR is below halt threshold, mints paused */
13
+ mint_status_halt_cr = 3,
14
+ /** mint_status_halt_oracle - MINT_STATUS_HALT_ORACLE indicates circuit breaker tripped due to unhealthy oracle price */
15
+ mint_status_halt_oracle = 4,
16
+ UNRECOGNIZED = -1
17
+ }
18
+ export declare const MintStatusAmino: typeof MintStatus;
19
+ export declare function mintStatusFromJSON(object: any): MintStatus;
20
+ export declare function mintStatusToJSON(object: MintStatus): string;
21
+ /** LedgerRecordStatus indicates the current state of a burn/mint ledger record */
22
+ export declare enum LedgerRecordStatus {
23
+ /**
24
+ * ledger_record_status_invalid - LEDGER_RECORD_STATUS_INVALID is the default/uninitialized value
25
+ * This status should never appear in a valid ledger record
26
+ */
27
+ ledger_record_status_invalid = 0,
28
+ /**
29
+ * ledger_record_status_pending - LEDGER_RECORD_STATUS_PENDING indicates a burn/mint operation has been initiated
30
+ * but not yet executed (e.g., waiting for oracle price or circuit breaker clearance)
31
+ */
32
+ ledger_record_status_pending = 1,
33
+ /**
34
+ * ledger_record_status_executed - LEDGER_RECORD_STATUS_EXECUTED indicates the burn/mint operation has been
35
+ * successfully completed and tokens have been burned and minted
36
+ */
37
+ ledger_record_status_executed = 2,
38
+ /**
39
+ * ledger_record_status_canceled - LEDGER_RECORD_STATUS_CANCELED indicates the burn/mint operation has encountered error and funds have been returned to the owner
40
+ * successfully completed and tokens have been burned and minted
41
+ */
42
+ ledger_record_status_canceled = 3,
43
+ UNRECOGNIZED = -1
44
+ }
45
+ export declare const LedgerRecordStatusAmino: typeof LedgerRecordStatus;
46
+ export declare function ledgerRecordStatusFromJSON(object: any): LedgerRecordStatus;
47
+ export declare function ledgerRecordStatusToJSON(object: LedgerRecordStatus): string;
48
+ /** BMCancelReason is an enum indicating reasons of failure for burn/mint request */
49
+ export declare enum LedgerCanceledRecord_BMCancelReason {
50
+ /** unknown - Prefix should start with 0 in enum. So declaring dummy state. */
51
+ unknown = 0,
52
+ /** epsilon - BMCancelReasonEpsilon the result of conversion is below the smallest meaningful difference (10^-6) */
53
+ epsilon = 1,
54
+ /** zero_price - BMCancelReasonZeroPrice oracle price is zero */
55
+ zero_price = 2,
56
+ /** insufficient_funds - BMCancelReasonInsufficientFunds insufficient vault/supply funds */
57
+ insufficient_funds = 3,
58
+ /** invalid_denom - BMCancelReasonInvalidDenom denomination is not registered */
59
+ invalid_denom = 4,
60
+ /** invalid_amount - BMCancelReasonInvalidAmount zero or invalid burn amount */
61
+ invalid_amount = 5,
62
+ /** minimum_mint - BMCancelReasonMinimumMint mint output below minimum threshold */
63
+ minimum_mint = 6,
64
+ /** mint_failed - BMCancelReasonMintFailed bank MintCoins operation failed */
65
+ mint_failed = 7,
66
+ /** burn_failed - BMCancelReasonBurnFailed bank BurnCoins operation failed */
67
+ burn_failed = 8,
68
+ /** max_attempts - BMCancelReasonMaxAttempts exceeded maximum pending processing attempts */
69
+ max_attempts = 9,
70
+ UNRECOGNIZED = -1
71
+ }
72
+ export declare const LedgerCanceledRecord_BMCancelReasonAmino: typeof LedgerCanceledRecord_BMCancelReason;
73
+ export declare function ledgerCanceledRecord_BMCancelReasonFromJSON(object: any): LedgerCanceledRecord_BMCancelReason;
74
+ export declare function ledgerCanceledRecord_BMCancelReasonToJSON(object: LedgerCanceledRecord_BMCancelReason): string;
75
+ /**
76
+ * LedgerID uniquely identifies a ledger entry by block height and sequence number
77
+ * @name LedgerID
78
+ * @package akash.bme.v1
79
+ * @see proto type: akash.bme.v1.LedgerID
80
+ */
81
+ export interface LedgerID {
82
+ /**
83
+ * height is the block height when the ledger entry was created
84
+ */
85
+ height: bigint;
86
+ /**
87
+ * sequence is the sequence number within the block (for ordering)
88
+ */
89
+ sequence: bigint;
90
+ }
91
+ export interface LedgerIDProtoMsg {
92
+ typeUrl: "/akash.bme.v1.LedgerID";
93
+ value: Uint8Array;
94
+ }
95
+ /**
96
+ * LedgerID uniquely identifies a ledger entry by block height and sequence number
97
+ * @name LedgerIDAmino
98
+ * @package akash.bme.v1
99
+ * @see proto type: akash.bme.v1.LedgerID
100
+ */
101
+ export interface LedgerIDAmino {
102
+ /**
103
+ * height is the block height when the ledger entry was created
104
+ */
105
+ height: string;
106
+ /**
107
+ * sequence is the sequence number within the block (for ordering)
108
+ */
109
+ sequence: string;
110
+ }
111
+ export interface LedgerIDAminoMsg {
112
+ type: "/akash.bme.v1.LedgerID";
113
+ value: LedgerIDAmino;
114
+ }
115
+ /**
116
+ * CollateralRatio represents the current collateral ratio
117
+ * @name CollateralRatio
118
+ * @package akash.bme.v1
119
+ * @see proto type: akash.bme.v1.CollateralRatio
120
+ */
121
+ export interface CollateralRatio {
122
+ /**
123
+ * ratio is CR = (VaultAKT * Price) / OutstandingACT
124
+ */
125
+ ratio: string;
126
+ /**
127
+ * status indicates the current circuit breaker status
128
+ */
129
+ status: MintStatus;
130
+ /**
131
+ * reference_price is the price used to calculate CR
132
+ */
133
+ referencePrice: string;
134
+ }
135
+ export interface CollateralRatioProtoMsg {
136
+ typeUrl: "/akash.bme.v1.CollateralRatio";
137
+ value: Uint8Array;
138
+ }
139
+ /**
140
+ * CollateralRatio represents the current collateral ratio
141
+ * @name CollateralRatioAmino
142
+ * @package akash.bme.v1
143
+ * @see proto type: akash.bme.v1.CollateralRatio
144
+ */
145
+ export interface CollateralRatioAmino {
146
+ /**
147
+ * ratio is CR = (VaultAKT * Price) / OutstandingACT
148
+ */
149
+ ratio?: string;
150
+ /**
151
+ * status indicates the current circuit breaker status
152
+ */
153
+ status?: MintStatus;
154
+ /**
155
+ * reference_price is the price used to calculate CR
156
+ */
157
+ reference_price?: string;
158
+ }
159
+ export interface CollateralRatioAminoMsg {
160
+ type: "/akash.bme.v1.CollateralRatio";
161
+ value: CollateralRatioAmino;
162
+ }
163
+ /**
164
+ * State tracks net burn metrics since BME start
165
+ * @name State
166
+ * @package akash.bme.v1
167
+ * @see proto type: akash.bme.v1.State
168
+ */
169
+ export interface State {
170
+ /**
171
+ * burned is the cumulative burn for tracked tokens
172
+ */
173
+ balances: Coin[];
174
+ /**
175
+ * burned is the cumulative burn for tracked tokens
176
+ */
177
+ totalBurned: Coin[];
178
+ /**
179
+ * minted is the cumulative mint back for tracked tokens
180
+ */
181
+ totalMinted: Coin[];
182
+ /**
183
+ * remint_credits tracks available credits for reminting tokens
184
+ * (e.g., from previous burns that can be reminted without additional collateral)
185
+ */
186
+ remintCredits: Coin[];
187
+ }
188
+ export interface StateProtoMsg {
189
+ typeUrl: "/akash.bme.v1.State";
190
+ value: Uint8Array;
191
+ }
192
+ /**
193
+ * State tracks net burn metrics since BME start
194
+ * @name StateAmino
195
+ * @package akash.bme.v1
196
+ * @see proto type: akash.bme.v1.State
197
+ */
198
+ export interface StateAmino {
199
+ /**
200
+ * burned is the cumulative burn for tracked tokens
201
+ */
202
+ balances?: CoinAmino[];
203
+ /**
204
+ * burned is the cumulative burn for tracked tokens
205
+ */
206
+ total_burned?: CoinAmino[];
207
+ /**
208
+ * minted is the cumulative mint back for tracked tokens
209
+ */
210
+ total_minted?: CoinAmino[];
211
+ /**
212
+ * remint_credits tracks available credits for reminting tokens
213
+ * (e.g., from previous burns that can be reminted without additional collateral)
214
+ */
215
+ remint_credits?: CoinAmino[];
216
+ }
217
+ export interface StateAminoMsg {
218
+ type: "/akash.bme.v1.State";
219
+ value: StateAmino;
220
+ }
221
+ /**
222
+ * CoinPrice represents a coin amount with its associated oracle price at a specific point in time
223
+ * @name CoinPrice
224
+ * @package akash.bme.v1
225
+ * @see proto type: akash.bme.v1.CoinPrice
226
+ */
227
+ export interface CoinPrice {
228
+ /**
229
+ * coin is the token amount
230
+ */
231
+ coin: Coin;
232
+ /**
233
+ * price (at oracle) of the coin at burn/mint event
234
+ */
235
+ price: string;
236
+ }
237
+ export interface CoinPriceProtoMsg {
238
+ typeUrl: "/akash.bme.v1.CoinPrice";
239
+ value: Uint8Array;
240
+ }
241
+ /**
242
+ * CoinPrice represents a coin amount with its associated oracle price at a specific point in time
243
+ * @name CoinPriceAmino
244
+ * @package akash.bme.v1
245
+ * @see proto type: akash.bme.v1.CoinPrice
246
+ */
247
+ export interface CoinPriceAmino {
248
+ /**
249
+ * coin is the token amount
250
+ */
251
+ coin: CoinAmino;
252
+ /**
253
+ * price (at oracle) of the coin at burn/mint event
254
+ */
255
+ price: string;
256
+ }
257
+ export interface CoinPriceAminoMsg {
258
+ type: "/akash.bme.v1.CoinPrice";
259
+ value: CoinPriceAmino;
260
+ }
261
+ /**
262
+ * BurnMintPair represents a pair of burn and mint operations with their respective prices
263
+ * @name BurnMintPair
264
+ * @package akash.bme.v1
265
+ * @see proto type: akash.bme.v1.BurnMintPair
266
+ */
267
+ export interface BurnMintPair {
268
+ /**
269
+ * burned is the coin burned
270
+ */
271
+ burned: CoinPrice;
272
+ /**
273
+ * minted is coin minted
274
+ */
275
+ minted: CoinPrice;
276
+ }
277
+ export interface BurnMintPairProtoMsg {
278
+ typeUrl: "/akash.bme.v1.BurnMintPair";
279
+ value: Uint8Array;
280
+ }
281
+ /**
282
+ * BurnMintPair represents a pair of burn and mint operations with their respective prices
283
+ * @name BurnMintPairAmino
284
+ * @package akash.bme.v1
285
+ * @see proto type: akash.bme.v1.BurnMintPair
286
+ */
287
+ export interface BurnMintPairAmino {
288
+ /**
289
+ * burned is the coin burned
290
+ */
291
+ burned: CoinPriceAmino;
292
+ /**
293
+ * minted is coin minted
294
+ */
295
+ minted: CoinPriceAmino;
296
+ }
297
+ export interface BurnMintPairAminoMsg {
298
+ type: "/akash.bme.v1.BurnMintPair";
299
+ value: BurnMintPairAmino;
300
+ }
301
+ /**
302
+ * LedgerRecordID
303
+ * @name LedgerRecordID
304
+ * @package akash.bme.v1
305
+ * @see proto type: akash.bme.v1.LedgerRecordID
306
+ */
307
+ export interface LedgerRecordID {
308
+ /**
309
+ * denom is the asset denomination
310
+ */
311
+ denom: string;
312
+ /**
313
+ * to_denom is what denom swap to
314
+ */
315
+ toDenom: string;
316
+ source: string;
317
+ height: bigint;
318
+ sequence: bigint;
319
+ }
320
+ export interface LedgerRecordIDProtoMsg {
321
+ typeUrl: "/akash.bme.v1.LedgerRecordID";
322
+ value: Uint8Array;
323
+ }
324
+ /**
325
+ * LedgerRecordID
326
+ * @name LedgerRecordIDAmino
327
+ * @package akash.bme.v1
328
+ * @see proto type: akash.bme.v1.LedgerRecordID
329
+ */
330
+ export interface LedgerRecordIDAmino {
331
+ /**
332
+ * denom is the asset denomination
333
+ */
334
+ denom: string;
335
+ /**
336
+ * to_denom is what denom swap to
337
+ */
338
+ to_denom: string;
339
+ source: string;
340
+ height?: string;
341
+ sequence?: string;
342
+ }
343
+ export interface LedgerRecordIDAminoMsg {
344
+ type: "/akash.bme.v1.LedgerRecordID";
345
+ value: LedgerRecordIDAmino;
346
+ }
347
+ /**
348
+ * LedgerPendingRecord
349
+ * @name LedgerPendingRecord
350
+ * @package akash.bme.v1
351
+ * @see proto type: akash.bme.v1.LedgerPendingRecord
352
+ */
353
+ export interface LedgerPendingRecord {
354
+ /**
355
+ * owner source of the coins to be burned
356
+ */
357
+ owner: string;
358
+ /**
359
+ * to destination of the minted coins.
360
+ * if minted coin is ACT, "to" must be same as signer
361
+ */
362
+ to: string;
363
+ /**
364
+ * coins_to_burn
365
+ */
366
+ coinsToBurn: Coin;
367
+ /**
368
+ * denom_to_mint
369
+ */
370
+ denomToMint: string;
371
+ /**
372
+ * attempts is the number of times this record has been processed and failed with a retriable error
373
+ */
374
+ attempts: number;
375
+ }
376
+ export interface LedgerPendingRecordProtoMsg {
377
+ typeUrl: "/akash.bme.v1.LedgerPendingRecord";
378
+ value: Uint8Array;
379
+ }
380
+ /**
381
+ * LedgerPendingRecord
382
+ * @name LedgerPendingRecordAmino
383
+ * @package akash.bme.v1
384
+ * @see proto type: akash.bme.v1.LedgerPendingRecord
385
+ */
386
+ export interface LedgerPendingRecordAmino {
387
+ /**
388
+ * owner source of the coins to be burned
389
+ */
390
+ owner: string;
391
+ /**
392
+ * to destination of the minted coins.
393
+ * if minted coin is ACT, "to" must be same as signer
394
+ */
395
+ to: string;
396
+ /**
397
+ * coins_to_burn
398
+ */
399
+ coins_to_burn: CoinAmino;
400
+ /**
401
+ * denom_to_mint
402
+ */
403
+ denom_to_mint: string;
404
+ /**
405
+ * attempts is the number of times this record has been processed and failed with a retriable error
406
+ */
407
+ attempts?: number;
408
+ }
409
+ export interface LedgerPendingRecordAminoMsg {
410
+ type: "/akash.bme.v1.LedgerPendingRecord";
411
+ value: LedgerPendingRecordAmino;
412
+ }
413
+ /**
414
+ * LedgerCanceledRecord
415
+ * @name LedgerCanceledRecord
416
+ * @package akash.bme.v1
417
+ * @see proto type: akash.bme.v1.LedgerCanceledRecord
418
+ */
419
+ export interface LedgerCanceledRecord {
420
+ /**
421
+ * owner source of the coins to be burned
422
+ */
423
+ owner: string;
424
+ /**
425
+ * cancel_reason
426
+ */
427
+ cancelReason: LedgerCanceledRecord_BMCancelReason;
428
+ /**
429
+ * to destination of the minted coins.
430
+ * if minted coin is ACT, "to" must be same as signer
431
+ */
432
+ to: string;
433
+ /**
434
+ * coins_to_burn
435
+ */
436
+ coinsToBurn: Coin;
437
+ /**
438
+ * denom_to_mint
439
+ */
440
+ denomToMint: string;
441
+ }
442
+ export interface LedgerCanceledRecordProtoMsg {
443
+ typeUrl: "/akash.bme.v1.LedgerCanceledRecord";
444
+ value: Uint8Array;
445
+ }
446
+ /**
447
+ * LedgerCanceledRecord
448
+ * @name LedgerCanceledRecordAmino
449
+ * @package akash.bme.v1
450
+ * @see proto type: akash.bme.v1.LedgerCanceledRecord
451
+ */
452
+ export interface LedgerCanceledRecordAmino {
453
+ /**
454
+ * owner source of the coins to be burned
455
+ */
456
+ owner: string;
457
+ /**
458
+ * cancel_reason
459
+ */
460
+ cancel_reason: LedgerCanceledRecord_BMCancelReason;
461
+ /**
462
+ * to destination of the minted coins.
463
+ * if minted coin is ACT, "to" must be same as signer
464
+ */
465
+ to: string;
466
+ /**
467
+ * coins_to_burn
468
+ */
469
+ coins_to_burn: CoinAmino;
470
+ /**
471
+ * denom_to_mint
472
+ */
473
+ denom_to_mint: string;
474
+ }
475
+ export interface LedgerCanceledRecordAminoMsg {
476
+ type: "/akash.bme.v1.LedgerCanceledRecord";
477
+ value: LedgerCanceledRecordAmino;
478
+ }
479
+ /**
480
+ * LedgerRecord stores information of burn/mint event of token A burn to mint token B
481
+ * @name LedgerRecord
482
+ * @package akash.bme.v1
483
+ * @see proto type: akash.bme.v1.LedgerRecord
484
+ */
485
+ export interface LedgerRecord {
486
+ /**
487
+ * burned_from source address of the tokens burned
488
+ */
489
+ burnedFrom: string;
490
+ /**
491
+ * minted_to destination address of the tokens minted
492
+ */
493
+ mintedTo: string;
494
+ /**
495
+ * module is module account performing burn
496
+ */
497
+ burner: string;
498
+ /**
499
+ * module is module account performing mint
500
+ */
501
+ minter: string;
502
+ /**
503
+ * burned is the coin burned at price
504
+ */
505
+ burned?: CoinPrice;
506
+ /**
507
+ * minted is coin minted at price
508
+ */
509
+ minted?: CoinPrice;
510
+ spread: Coin;
511
+ remintCreditIssued?: CoinPrice;
512
+ remintCreditAccrued?: CoinPrice;
513
+ }
514
+ export interface LedgerRecordProtoMsg {
515
+ typeUrl: "/akash.bme.v1.LedgerRecord";
516
+ value: Uint8Array;
517
+ }
518
+ /**
519
+ * LedgerRecord stores information of burn/mint event of token A burn to mint token B
520
+ * @name LedgerRecordAmino
521
+ * @package akash.bme.v1
522
+ * @see proto type: akash.bme.v1.LedgerRecord
523
+ */
524
+ export interface LedgerRecordAmino {
525
+ /**
526
+ * burned_from source address of the tokens burned
527
+ */
528
+ burned_from: string;
529
+ /**
530
+ * minted_to destination address of the tokens minted
531
+ */
532
+ minted_to: string;
533
+ /**
534
+ * module is module account performing burn
535
+ */
536
+ burner: string;
537
+ /**
538
+ * module is module account performing mint
539
+ */
540
+ minter: string;
541
+ /**
542
+ * burned is the coin burned at price
543
+ */
544
+ burned: CoinPriceAmino;
545
+ /**
546
+ * minted is coin minted at price
547
+ */
548
+ minted: CoinPriceAmino;
549
+ spread: CoinAmino;
550
+ remint_credit_issued: CoinPriceAmino;
551
+ remint_credit_accrued: CoinPriceAmino;
552
+ }
553
+ export interface LedgerRecordAminoMsg {
554
+ type: "/akash.bme.v1.LedgerRecord";
555
+ value: LedgerRecordAmino;
556
+ }
557
+ /**
558
+ * Status stores status of mint operations
559
+ * @name Status
560
+ * @package akash.bme.v1
561
+ * @see proto type: akash.bme.v1.Status
562
+ */
563
+ export interface Status {
564
+ status: MintStatus;
565
+ previousStatus: MintStatus;
566
+ epochHeightDiff: bigint;
567
+ }
568
+ export interface StatusProtoMsg {
569
+ typeUrl: "/akash.bme.v1.Status";
570
+ value: Uint8Array;
571
+ }
572
+ /**
573
+ * Status stores status of mint operations
574
+ * @name StatusAmino
575
+ * @package akash.bme.v1
576
+ * @see proto type: akash.bme.v1.Status
577
+ */
578
+ export interface StatusAmino {
579
+ status?: MintStatus;
580
+ previous_status?: MintStatus;
581
+ epoch_height_diff?: string;
582
+ }
583
+ export interface StatusAminoMsg {
584
+ type: "/akash.bme.v1.Status";
585
+ value: StatusAmino;
586
+ }
587
+ /**
588
+ * LedgerID uniquely identifies a ledger entry by block height and sequence number
589
+ * @name LedgerID
590
+ * @package akash.bme.v1
591
+ * @see proto type: akash.bme.v1.LedgerID
592
+ */
593
+ export declare const LedgerID: {
594
+ typeUrl: string;
595
+ encode(message: LedgerID, writer?: BinaryWriter): BinaryWriter;
596
+ decode(input: BinaryReader | Uint8Array, length?: number): LedgerID;
597
+ fromPartial(object: DeepPartial<LedgerID>): LedgerID;
598
+ fromAmino(object: LedgerIDAmino): LedgerID;
599
+ toAmino(message: LedgerID): LedgerIDAmino;
600
+ fromAminoMsg(object: LedgerIDAminoMsg): LedgerID;
601
+ fromProtoMsg(message: LedgerIDProtoMsg): LedgerID;
602
+ toProto(message: LedgerID): Uint8Array;
603
+ toProtoMsg(message: LedgerID): LedgerIDProtoMsg;
604
+ };
605
+ /**
606
+ * CollateralRatio represents the current collateral ratio
607
+ * @name CollateralRatio
608
+ * @package akash.bme.v1
609
+ * @see proto type: akash.bme.v1.CollateralRatio
610
+ */
611
+ export declare const CollateralRatio: {
612
+ typeUrl: string;
613
+ encode(message: CollateralRatio, writer?: BinaryWriter): BinaryWriter;
614
+ decode(input: BinaryReader | Uint8Array, length?: number): CollateralRatio;
615
+ fromPartial(object: DeepPartial<CollateralRatio>): CollateralRatio;
616
+ fromAmino(object: CollateralRatioAmino): CollateralRatio;
617
+ toAmino(message: CollateralRatio): CollateralRatioAmino;
618
+ fromAminoMsg(object: CollateralRatioAminoMsg): CollateralRatio;
619
+ fromProtoMsg(message: CollateralRatioProtoMsg): CollateralRatio;
620
+ toProto(message: CollateralRatio): Uint8Array;
621
+ toProtoMsg(message: CollateralRatio): CollateralRatioProtoMsg;
622
+ };
623
+ /**
624
+ * State tracks net burn metrics since BME start
625
+ * @name State
626
+ * @package akash.bme.v1
627
+ * @see proto type: akash.bme.v1.State
628
+ */
629
+ export declare const State: {
630
+ typeUrl: string;
631
+ encode(message: State, writer?: BinaryWriter): BinaryWriter;
632
+ decode(input: BinaryReader | Uint8Array, length?: number): State;
633
+ fromPartial(object: DeepPartial<State>): State;
634
+ fromAmino(object: StateAmino): State;
635
+ toAmino(message: State): StateAmino;
636
+ fromAminoMsg(object: StateAminoMsg): State;
637
+ fromProtoMsg(message: StateProtoMsg): State;
638
+ toProto(message: State): Uint8Array;
639
+ toProtoMsg(message: State): StateProtoMsg;
640
+ };
641
+ /**
642
+ * CoinPrice represents a coin amount with its associated oracle price at a specific point in time
643
+ * @name CoinPrice
644
+ * @package akash.bme.v1
645
+ * @see proto type: akash.bme.v1.CoinPrice
646
+ */
647
+ export declare const CoinPrice: {
648
+ typeUrl: string;
649
+ encode(message: CoinPrice, writer?: BinaryWriter): BinaryWriter;
650
+ decode(input: BinaryReader | Uint8Array, length?: number): CoinPrice;
651
+ fromPartial(object: DeepPartial<CoinPrice>): CoinPrice;
652
+ fromAmino(object: CoinPriceAmino): CoinPrice;
653
+ toAmino(message: CoinPrice): CoinPriceAmino;
654
+ fromAminoMsg(object: CoinPriceAminoMsg): CoinPrice;
655
+ fromProtoMsg(message: CoinPriceProtoMsg): CoinPrice;
656
+ toProto(message: CoinPrice): Uint8Array;
657
+ toProtoMsg(message: CoinPrice): CoinPriceProtoMsg;
658
+ };
659
+ /**
660
+ * BurnMintPair represents a pair of burn and mint operations with their respective prices
661
+ * @name BurnMintPair
662
+ * @package akash.bme.v1
663
+ * @see proto type: akash.bme.v1.BurnMintPair
664
+ */
665
+ export declare const BurnMintPair: {
666
+ typeUrl: string;
667
+ encode(message: BurnMintPair, writer?: BinaryWriter): BinaryWriter;
668
+ decode(input: BinaryReader | Uint8Array, length?: number): BurnMintPair;
669
+ fromPartial(object: DeepPartial<BurnMintPair>): BurnMintPair;
670
+ fromAmino(object: BurnMintPairAmino): BurnMintPair;
671
+ toAmino(message: BurnMintPair): BurnMintPairAmino;
672
+ fromAminoMsg(object: BurnMintPairAminoMsg): BurnMintPair;
673
+ fromProtoMsg(message: BurnMintPairProtoMsg): BurnMintPair;
674
+ toProto(message: BurnMintPair): Uint8Array;
675
+ toProtoMsg(message: BurnMintPair): BurnMintPairProtoMsg;
676
+ };
677
+ /**
678
+ * LedgerRecordID
679
+ * @name LedgerRecordID
680
+ * @package akash.bme.v1
681
+ * @see proto type: akash.bme.v1.LedgerRecordID
682
+ */
683
+ export declare const LedgerRecordID: {
684
+ typeUrl: string;
685
+ encode(message: LedgerRecordID, writer?: BinaryWriter): BinaryWriter;
686
+ decode(input: BinaryReader | Uint8Array, length?: number): LedgerRecordID;
687
+ fromPartial(object: DeepPartial<LedgerRecordID>): LedgerRecordID;
688
+ fromAmino(object: LedgerRecordIDAmino): LedgerRecordID;
689
+ toAmino(message: LedgerRecordID): LedgerRecordIDAmino;
690
+ fromAminoMsg(object: LedgerRecordIDAminoMsg): LedgerRecordID;
691
+ fromProtoMsg(message: LedgerRecordIDProtoMsg): LedgerRecordID;
692
+ toProto(message: LedgerRecordID): Uint8Array;
693
+ toProtoMsg(message: LedgerRecordID): LedgerRecordIDProtoMsg;
694
+ };
695
+ /**
696
+ * LedgerPendingRecord
697
+ * @name LedgerPendingRecord
698
+ * @package akash.bme.v1
699
+ * @see proto type: akash.bme.v1.LedgerPendingRecord
700
+ */
701
+ export declare const LedgerPendingRecord: {
702
+ typeUrl: string;
703
+ encode(message: LedgerPendingRecord, writer?: BinaryWriter): BinaryWriter;
704
+ decode(input: BinaryReader | Uint8Array, length?: number): LedgerPendingRecord;
705
+ fromPartial(object: DeepPartial<LedgerPendingRecord>): LedgerPendingRecord;
706
+ fromAmino(object: LedgerPendingRecordAmino): LedgerPendingRecord;
707
+ toAmino(message: LedgerPendingRecord): LedgerPendingRecordAmino;
708
+ fromAminoMsg(object: LedgerPendingRecordAminoMsg): LedgerPendingRecord;
709
+ fromProtoMsg(message: LedgerPendingRecordProtoMsg): LedgerPendingRecord;
710
+ toProto(message: LedgerPendingRecord): Uint8Array;
711
+ toProtoMsg(message: LedgerPendingRecord): LedgerPendingRecordProtoMsg;
712
+ };
713
+ /**
714
+ * LedgerCanceledRecord
715
+ * @name LedgerCanceledRecord
716
+ * @package akash.bme.v1
717
+ * @see proto type: akash.bme.v1.LedgerCanceledRecord
718
+ */
719
+ export declare const LedgerCanceledRecord: {
720
+ typeUrl: string;
721
+ encode(message: LedgerCanceledRecord, writer?: BinaryWriter): BinaryWriter;
722
+ decode(input: BinaryReader | Uint8Array, length?: number): LedgerCanceledRecord;
723
+ fromPartial(object: DeepPartial<LedgerCanceledRecord>): LedgerCanceledRecord;
724
+ fromAmino(object: LedgerCanceledRecordAmino): LedgerCanceledRecord;
725
+ toAmino(message: LedgerCanceledRecord): LedgerCanceledRecordAmino;
726
+ fromAminoMsg(object: LedgerCanceledRecordAminoMsg): LedgerCanceledRecord;
727
+ fromProtoMsg(message: LedgerCanceledRecordProtoMsg): LedgerCanceledRecord;
728
+ toProto(message: LedgerCanceledRecord): Uint8Array;
729
+ toProtoMsg(message: LedgerCanceledRecord): LedgerCanceledRecordProtoMsg;
730
+ };
731
+ /**
732
+ * LedgerRecord stores information of burn/mint event of token A burn to mint token B
733
+ * @name LedgerRecord
734
+ * @package akash.bme.v1
735
+ * @see proto type: akash.bme.v1.LedgerRecord
736
+ */
737
+ export declare const LedgerRecord: {
738
+ typeUrl: string;
739
+ encode(message: LedgerRecord, writer?: BinaryWriter): BinaryWriter;
740
+ decode(input: BinaryReader | Uint8Array, length?: number): LedgerRecord;
741
+ fromPartial(object: DeepPartial<LedgerRecord>): LedgerRecord;
742
+ fromAmino(object: LedgerRecordAmino): LedgerRecord;
743
+ toAmino(message: LedgerRecord): LedgerRecordAmino;
744
+ fromAminoMsg(object: LedgerRecordAminoMsg): LedgerRecord;
745
+ fromProtoMsg(message: LedgerRecordProtoMsg): LedgerRecord;
746
+ toProto(message: LedgerRecord): Uint8Array;
747
+ toProtoMsg(message: LedgerRecord): LedgerRecordProtoMsg;
748
+ };
749
+ /**
750
+ * Status stores status of mint operations
751
+ * @name Status
752
+ * @package akash.bme.v1
753
+ * @see proto type: akash.bme.v1.Status
754
+ */
755
+ export declare const Status: {
756
+ typeUrl: string;
757
+ encode(message: Status, writer?: BinaryWriter): BinaryWriter;
758
+ decode(input: BinaryReader | Uint8Array, length?: number): Status;
759
+ fromPartial(object: DeepPartial<Status>): Status;
760
+ fromAmino(object: StatusAmino): Status;
761
+ toAmino(message: Status): StatusAmino;
762
+ fromAminoMsg(object: StatusAminoMsg): Status;
763
+ fromProtoMsg(message: StatusProtoMsg): Status;
764
+ toProto(message: Status): Uint8Array;
765
+ toProtoMsg(message: Status): StatusProtoMsg;
766
+ };