@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,332 @@
1
+ import { MintStatus, LedgerRecordID, LedgerRecordIDAmino, CoinPrice, CoinPriceAmino, LedgerCanceledRecord_BMCancelReason } from "./types";
2
+ import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
3
+ import { BinaryReader, BinaryWriter } from "../../../binary";
4
+ import { DeepPartial } from "../../../helpers";
5
+ /**
6
+ * EventCircuitBreakerStatusChange is emitted when circuit breaker status changes
7
+ * @name EventMintStatusChange
8
+ * @package akash.bme.v1
9
+ * @see proto type: akash.bme.v1.EventMintStatusChange
10
+ */
11
+ export interface EventMintStatusChange {
12
+ /**
13
+ * previous_status is the previous status
14
+ */
15
+ previousStatus: MintStatus;
16
+ /**
17
+ * new_status is the new status
18
+ */
19
+ newStatus: MintStatus;
20
+ /**
21
+ * collateral_ratio is the CR that triggered the change
22
+ */
23
+ collateralRatio: string;
24
+ }
25
+ export interface EventMintStatusChangeProtoMsg {
26
+ typeUrl: "/akash.bme.v1.EventMintStatusChange";
27
+ value: Uint8Array;
28
+ }
29
+ /**
30
+ * EventCircuitBreakerStatusChange is emitted when circuit breaker status changes
31
+ * @name EventMintStatusChangeAmino
32
+ * @package akash.bme.v1
33
+ * @see proto type: akash.bme.v1.EventMintStatusChange
34
+ */
35
+ export interface EventMintStatusChangeAmino {
36
+ /**
37
+ * previous_status is the previous status
38
+ */
39
+ previous_status?: MintStatus;
40
+ /**
41
+ * new_status is the new status
42
+ */
43
+ new_status?: MintStatus;
44
+ /**
45
+ * collateral_ratio is the CR that triggered the change
46
+ */
47
+ collateral_ratio?: string;
48
+ }
49
+ export interface EventMintStatusChangeAminoMsg {
50
+ type: "/akash.bme.v1.EventMintStatusChange";
51
+ value: EventMintStatusChangeAmino;
52
+ }
53
+ /**
54
+ * EventVaultFunded is emitted when the vault is seeded with AKT
55
+ * @name EventVaultFunded
56
+ * @package akash.bme.v1
57
+ * @see proto type: akash.bme.v1.EventVaultFunded
58
+ */
59
+ export interface EventVaultFunded {
60
+ /**
61
+ * amount is the AKT amount added to vault
62
+ */
63
+ amount: Coin;
64
+ /**
65
+ * source is where the funds came from
66
+ */
67
+ source: string;
68
+ /**
69
+ * new_vault_balance is the new vault balance
70
+ */
71
+ newVaultBalance: Coin;
72
+ }
73
+ export interface EventVaultFundedProtoMsg {
74
+ typeUrl: "/akash.bme.v1.EventVaultFunded";
75
+ value: Uint8Array;
76
+ }
77
+ /**
78
+ * EventVaultFunded is emitted when the vault is seeded with AKT
79
+ * @name EventVaultFundedAmino
80
+ * @package akash.bme.v1
81
+ * @see proto type: akash.bme.v1.EventVaultFunded
82
+ */
83
+ export interface EventVaultFundedAmino {
84
+ /**
85
+ * amount is the AKT amount added to vault
86
+ */
87
+ amount?: CoinAmino;
88
+ /**
89
+ * source is where the funds came from
90
+ */
91
+ source?: string;
92
+ /**
93
+ * new_vault_balance is the new vault balance
94
+ */
95
+ new_vault_balance?: CoinAmino;
96
+ }
97
+ export interface EventVaultFundedAminoMsg {
98
+ type: "/akash.bme.v1.EventVaultFunded";
99
+ value: EventVaultFundedAmino;
100
+ }
101
+ /**
102
+ * EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B
103
+ * @name EventLedgerRecordExecuted
104
+ * @package akash.bme.v1
105
+ * @see proto type: akash.bme.v1.EventLedgerRecordExecuted
106
+ */
107
+ export interface EventLedgerRecordExecuted {
108
+ /**
109
+ * burned_from source address of the tokens burned
110
+ */
111
+ id: LedgerRecordID;
112
+ /**
113
+ * burned_from source address of the tokens burned
114
+ */
115
+ burnedFrom: string;
116
+ /**
117
+ * minted_to destination address of the tokens minted
118
+ */
119
+ mintedTo: string;
120
+ /**
121
+ * module is module account performing burn
122
+ */
123
+ burner: string;
124
+ /**
125
+ * module is module account performing mint
126
+ */
127
+ minter: string;
128
+ /**
129
+ * burned is the coin burned at price
130
+ */
131
+ burned?: CoinPrice;
132
+ /**
133
+ * minted is coin minted at price
134
+ */
135
+ minted?: CoinPrice;
136
+ spread: Coin;
137
+ remintCreditIssued?: CoinPrice;
138
+ remintCreditAccrued?: CoinPrice;
139
+ }
140
+ export interface EventLedgerRecordExecutedProtoMsg {
141
+ typeUrl: "/akash.bme.v1.EventLedgerRecordExecuted";
142
+ value: Uint8Array;
143
+ }
144
+ /**
145
+ * EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B
146
+ * @name EventLedgerRecordExecutedAmino
147
+ * @package akash.bme.v1
148
+ * @see proto type: akash.bme.v1.EventLedgerRecordExecuted
149
+ */
150
+ export interface EventLedgerRecordExecutedAmino {
151
+ /**
152
+ * burned_from source address of the tokens burned
153
+ */
154
+ id: LedgerRecordIDAmino;
155
+ /**
156
+ * burned_from source address of the tokens burned
157
+ */
158
+ burned_from: string;
159
+ /**
160
+ * minted_to destination address of the tokens minted
161
+ */
162
+ minted_to: string;
163
+ /**
164
+ * module is module account performing burn
165
+ */
166
+ burner: string;
167
+ /**
168
+ * module is module account performing mint
169
+ */
170
+ minter: string;
171
+ /**
172
+ * burned is the coin burned at price
173
+ */
174
+ burned: CoinPriceAmino;
175
+ /**
176
+ * minted is coin minted at price
177
+ */
178
+ minted: CoinPriceAmino;
179
+ spread: CoinAmino;
180
+ remint_credit_issued: CoinPriceAmino;
181
+ remint_credit_accrued: CoinPriceAmino;
182
+ }
183
+ export interface EventLedgerRecordExecutedAminoMsg {
184
+ type: "/akash.bme.v1.EventLedgerRecordExecuted";
185
+ value: EventLedgerRecordExecutedAmino;
186
+ }
187
+ /**
188
+ * EventLedgerRecordCanceled emitted information of unsuccessful burn/mint event
189
+ * @name EventLedgerRecordCanceled
190
+ * @package akash.bme.v1
191
+ * @see proto type: akash.bme.v1.EventLedgerRecordCanceled
192
+ */
193
+ export interface EventLedgerRecordCanceled {
194
+ /**
195
+ * burned_from source address of the tokens burned
196
+ */
197
+ id: LedgerRecordID;
198
+ /**
199
+ * fail_reason
200
+ */
201
+ cancelReason: LedgerCanceledRecord_BMCancelReason;
202
+ /**
203
+ * owner source of the coins to be burned
204
+ */
205
+ owner: string;
206
+ /**
207
+ * to destination of the minted coins.
208
+ * if minted coin is ACT, "to" must be same as signer
209
+ */
210
+ to: string;
211
+ /**
212
+ * coins_to_burn
213
+ */
214
+ coinsToBurn: Coin;
215
+ /**
216
+ * denom_to_mint
217
+ */
218
+ denomToMint: string;
219
+ }
220
+ export interface EventLedgerRecordCanceledProtoMsg {
221
+ typeUrl: "/akash.bme.v1.EventLedgerRecordCanceled";
222
+ value: Uint8Array;
223
+ }
224
+ /**
225
+ * EventLedgerRecordCanceled emitted information of unsuccessful burn/mint event
226
+ * @name EventLedgerRecordCanceledAmino
227
+ * @package akash.bme.v1
228
+ * @see proto type: akash.bme.v1.EventLedgerRecordCanceled
229
+ */
230
+ export interface EventLedgerRecordCanceledAmino {
231
+ /**
232
+ * burned_from source address of the tokens burned
233
+ */
234
+ id: LedgerRecordIDAmino;
235
+ /**
236
+ * fail_reason
237
+ */
238
+ cancel_reason: LedgerCanceledRecord_BMCancelReason;
239
+ /**
240
+ * owner source of the coins to be burned
241
+ */
242
+ owner: string;
243
+ /**
244
+ * to destination of the minted coins.
245
+ * if minted coin is ACT, "to" must be same as signer
246
+ */
247
+ to: string;
248
+ /**
249
+ * coins_to_burn
250
+ */
251
+ coins_to_burn: CoinAmino;
252
+ /**
253
+ * denom_to_mint
254
+ */
255
+ denom_to_mint: string;
256
+ }
257
+ export interface EventLedgerRecordCanceledAminoMsg {
258
+ type: "/akash.bme.v1.EventLedgerRecordCanceled";
259
+ value: EventLedgerRecordCanceledAmino;
260
+ }
261
+ /**
262
+ * EventCircuitBreakerStatusChange is emitted when circuit breaker status changes
263
+ * @name EventMintStatusChange
264
+ * @package akash.bme.v1
265
+ * @see proto type: akash.bme.v1.EventMintStatusChange
266
+ */
267
+ export declare const EventMintStatusChange: {
268
+ typeUrl: string;
269
+ encode(message: EventMintStatusChange, writer?: BinaryWriter): BinaryWriter;
270
+ decode(input: BinaryReader | Uint8Array, length?: number): EventMintStatusChange;
271
+ fromPartial(object: DeepPartial<EventMintStatusChange>): EventMintStatusChange;
272
+ fromAmino(object: EventMintStatusChangeAmino): EventMintStatusChange;
273
+ toAmino(message: EventMintStatusChange): EventMintStatusChangeAmino;
274
+ fromAminoMsg(object: EventMintStatusChangeAminoMsg): EventMintStatusChange;
275
+ fromProtoMsg(message: EventMintStatusChangeProtoMsg): EventMintStatusChange;
276
+ toProto(message: EventMintStatusChange): Uint8Array;
277
+ toProtoMsg(message: EventMintStatusChange): EventMintStatusChangeProtoMsg;
278
+ };
279
+ /**
280
+ * EventVaultFunded is emitted when the vault is seeded with AKT
281
+ * @name EventVaultFunded
282
+ * @package akash.bme.v1
283
+ * @see proto type: akash.bme.v1.EventVaultFunded
284
+ */
285
+ export declare const EventVaultFunded: {
286
+ typeUrl: string;
287
+ encode(message: EventVaultFunded, writer?: BinaryWriter): BinaryWriter;
288
+ decode(input: BinaryReader | Uint8Array, length?: number): EventVaultFunded;
289
+ fromPartial(object: DeepPartial<EventVaultFunded>): EventVaultFunded;
290
+ fromAmino(object: EventVaultFundedAmino): EventVaultFunded;
291
+ toAmino(message: EventVaultFunded): EventVaultFundedAmino;
292
+ fromAminoMsg(object: EventVaultFundedAminoMsg): EventVaultFunded;
293
+ fromProtoMsg(message: EventVaultFundedProtoMsg): EventVaultFunded;
294
+ toProto(message: EventVaultFunded): Uint8Array;
295
+ toProtoMsg(message: EventVaultFunded): EventVaultFundedProtoMsg;
296
+ };
297
+ /**
298
+ * EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B
299
+ * @name EventLedgerRecordExecuted
300
+ * @package akash.bme.v1
301
+ * @see proto type: akash.bme.v1.EventLedgerRecordExecuted
302
+ */
303
+ export declare const EventLedgerRecordExecuted: {
304
+ typeUrl: string;
305
+ encode(message: EventLedgerRecordExecuted, writer?: BinaryWriter): BinaryWriter;
306
+ decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordExecuted;
307
+ fromPartial(object: DeepPartial<EventLedgerRecordExecuted>): EventLedgerRecordExecuted;
308
+ fromAmino(object: EventLedgerRecordExecutedAmino): EventLedgerRecordExecuted;
309
+ toAmino(message: EventLedgerRecordExecuted): EventLedgerRecordExecutedAmino;
310
+ fromAminoMsg(object: EventLedgerRecordExecutedAminoMsg): EventLedgerRecordExecuted;
311
+ fromProtoMsg(message: EventLedgerRecordExecutedProtoMsg): EventLedgerRecordExecuted;
312
+ toProto(message: EventLedgerRecordExecuted): Uint8Array;
313
+ toProtoMsg(message: EventLedgerRecordExecuted): EventLedgerRecordExecutedProtoMsg;
314
+ };
315
+ /**
316
+ * EventLedgerRecordCanceled emitted information of unsuccessful burn/mint event
317
+ * @name EventLedgerRecordCanceled
318
+ * @package akash.bme.v1
319
+ * @see proto type: akash.bme.v1.EventLedgerRecordCanceled
320
+ */
321
+ export declare const EventLedgerRecordCanceled: {
322
+ typeUrl: string;
323
+ encode(message: EventLedgerRecordCanceled, writer?: BinaryWriter): BinaryWriter;
324
+ decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordCanceled;
325
+ fromPartial(object: DeepPartial<EventLedgerRecordCanceled>): EventLedgerRecordCanceled;
326
+ fromAmino(object: EventLedgerRecordCanceledAmino): EventLedgerRecordCanceled;
327
+ toAmino(message: EventLedgerRecordCanceled): EventLedgerRecordCanceledAmino;
328
+ fromAminoMsg(object: EventLedgerRecordCanceledAminoMsg): EventLedgerRecordCanceled;
329
+ fromProtoMsg(message: EventLedgerRecordCanceledProtoMsg): EventLedgerRecordCanceled;
330
+ toProto(message: EventLedgerRecordCanceled): Uint8Array;
331
+ toProtoMsg(message: EventLedgerRecordCanceled): EventLedgerRecordCanceledProtoMsg;
332
+ };