@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.
- package/akash/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.d.ts +1 -0
- package/akash/bme/v1/service.js +2 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +3317 -2680
- package/akash/bundle.js +294 -263
- package/akash/client.d.ts +25 -0
- package/akash/client.js +4 -1
- package/akash/lcd.d.ts +3 -0
- package/akash/lcd.js +5 -0
- package/akash/rpc.query.d.ts +8 -0
- package/akash/rpc.query.js +3 -0
- package/akash/rpc.tx.d.ts +3 -0
- package/akash/rpc.tx.js +3 -0
- package/amino/bundle.js +2 -2
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +294 -263
- package/esm/akash/client.js +4 -1
- package/esm/akash/lcd.js +5 -0
- package/esm/akash/rpc.query.js +3 -0
- package/esm/akash/rpc.tx.js +3 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +224 -224
- package/esm/sparkdream/bundle.js +486 -486
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +224 -224
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +486 -486
- package/tendermint/bundle.d.ts +844 -844
- 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
|
+
};
|