@sparkdreamnft/sparkdreamjs 0.0.44 → 0.0.46
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/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +6 -4
- package/esm/sparkdream/artifact/v1/genesis.js +217 -3
- package/esm/sparkdream/artifact/v1/params.js +146 -2
- package/esm/sparkdream/artifact/v1/query.js +3767 -5
- package/esm/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +195 -1
- package/esm/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/esm/sparkdream/artifact/v1/tx.js +7498 -5
- package/esm/sparkdream/artifact/v1/tx.registry.js +704 -2
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +241 -1
- package/esm/sparkdream/artifact/v1/types.js +4312 -1120
- package/esm/sparkdream/blog/v1/tx.amino.js +21 -1
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +16 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +33 -1
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/federation/v1/tx.amino.js +51 -1
- package/esm/sparkdream/forum/v1/tx.amino.js +21 -1
- package/esm/sparkdream/guardian/v1/tx.amino.js +33 -3
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/genesis.js +32 -2
- package/esm/sparkdream/rep/v1/genesis.js +74 -1
- package/esm/sparkdream/rep/v1/member.js +110 -1
- package/esm/sparkdream/rep/v1/migration.js +957 -0
- package/esm/sparkdream/rep/v1/params.js +193 -1
- package/esm/sparkdream/rep/v1/query.js +1060 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +48 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +65 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +71 -1
- package/esm/sparkdream/rep/v1/tx.js +1886 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +218 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +75 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +64 -2
- package/esm/sparkdream/season/v1/tx.js +33 -2
- package/esm/sparkdream/service/v1/operator.js +25 -1
- package/esm/sparkdream/service/v1/tx.amino.js +6 -1
- package/esm/sparkdream/service/v1/tx.js +163 -0
- package/esm/sparkdream/service/v1/tx.registry.js +20 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +11 -1
- package/esm/sparkdream/session/v1/grant.js +98 -6
- package/esm/sparkdream/session/v1/tx.amino.js +3 -0
- package/esm/sparkdream/session/v1/tx.js +53 -5
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/esm/sparkdream/shield/v1/genesis.js +32 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/query.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +414 -15
- package/esm/sparkdream/vault/module/v1/module.js +71 -0
- package/esm/sparkdream/vault/v1/genesis.js +104 -0
- package/esm/sparkdream/vault/v1/params.js +90 -0
- package/esm/sparkdream/vault/v1/query.js +1535 -0
- package/esm/sparkdream/vault/v1/query.lcd.js +100 -0
- package/esm/sparkdream/vault/v1/query.rpc.Query.js +111 -0
- package/esm/sparkdream/vault/v1/tx.amino.js +111 -0
- package/esm/sparkdream/vault/v1/tx.js +1393 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +159 -0
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +60 -0
- package/esm/sparkdream/vault/v1/vault.js +163 -0
- package/esm/sparkdream/vault/v1/vault_proposal.js +277 -0
- package/esm/sparkdream/vault/v1/vault_signer.js +85 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/nested-amino.d.ts +3 -2
- package/nested-amino.js +6 -4
- package/package.json +1 -13
- package/sparkdream/artifact/v1/genesis.d.ts +37 -4
- package/sparkdream/artifact/v1/genesis.js +216 -2
- package/sparkdream/artifact/v1/params.d.ts +92 -0
- package/sparkdream/artifact/v1/params.js +146 -2
- package/sparkdream/artifact/v1/query.d.ts +2373 -168
- package/sparkdream/artifact/v1/query.js +3768 -5
- package/sparkdream/artifact/v1/query.lcd.d.ts +22 -1
- package/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +98 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +194 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +200 -5
- package/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/sparkdream/artifact/v1/tx.d.ts +5188 -930
- package/sparkdream/artifact/v1/tx.js +7499 -5
- package/sparkdream/artifact/v1/tx.registry.d.ts +469 -1
- package/sparkdream/artifact/v1/tx.registry.js +703 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +136 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.js +240 -0
- package/sparkdream/artifact/v1/types.d.ts +1797 -25
- package/sparkdream/artifact/v1/types.js +4322 -1121
- package/sparkdream/blog/v1/tx.amino.d.ts +21 -1
- package/sparkdream/blog/v1/tx.amino.js +20 -0
- package/sparkdream/bundle.d.ts +13721 -9493
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +394 -9
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +16 -1
- package/sparkdream/collect/v1/tx.amino.js +15 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +21 -1
- package/sparkdream/commons/v1/tx.amino.js +32 -0
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -1
- package/sparkdream/federation/v1/tx.amino.js +52 -2
- package/sparkdream/forum/v1/tx.amino.d.ts +21 -1
- package/sparkdream/forum/v1/tx.amino.js +20 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +3 -3
- package/sparkdream/guardian/v1/tx.amino.js +36 -5
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- package/sparkdream/rep/v1/genesis.d.ts +19 -0
- package/sparkdream/rep/v1/genesis.js +74 -1
- package/sparkdream/rep/v1/member.d.ts +92 -0
- package/sparkdream/rep/v1/member.js +110 -1
- package/sparkdream/rep/v1/migration.d.ts +587 -0
- package/sparkdream/rep/v1/migration.js +964 -0
- package/sparkdream/rep/v1/params.d.ts +190 -0
- package/sparkdream/rep/v1/params.js +193 -1
- package/sparkdream/rep/v1/query.d.ts +679 -0
- package/sparkdream/rep/v1/query.js +1061 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +8 -1
- package/sparkdream/rep/v1/query.lcd.js +48 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +32 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +64 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +71 -1
- package/sparkdream/rep/v1/tx.amino.js +70 -0
- package/sparkdream/rep/v1/tx.d.ts +1278 -0
- package/sparkdream/rep/v1/tx.js +1887 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +145 -1
- package/sparkdream/rep/v1/tx.registry.js +217 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +41 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +74 -0
- package/sparkdream/rpc.query.d.ts +42 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +2 -2
- package/sparkdream/season/v1/tx.amino.js +65 -3
- package/sparkdream/season/v1/tx.d.ts +19 -0
- package/sparkdream/season/v1/tx.js +33 -2
- package/sparkdream/service/v1/operator.d.ts +30 -0
- package/sparkdream/service/v1/operator.js +25 -1
- package/sparkdream/service/v1/tx.amino.d.ts +6 -1
- package/sparkdream/service/v1/tx.amino.js +5 -0
- package/sparkdream/service/v1/tx.d.ts +119 -0
- package/sparkdream/service/v1/tx.js +164 -1
- package/sparkdream/service/v1/tx.registry.d.ts +13 -1
- package/sparkdream/service/v1/tx.registry.js +19 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +10 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +10 -0
- package/sparkdream/session/v1/grant.d.ts +75 -7
- package/sparkdream/session/v1/grant.js +99 -7
- package/sparkdream/session/v1/tx.amino.js +3 -0
- package/sparkdream/session/v1/tx.d.ts +36 -4
- package/sparkdream/session/v1/tx.js +52 -4
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/sparkdream/shield/v1/genesis.d.ts +17 -1
- package/sparkdream/shield/v1/genesis.js +31 -1
- package/sparkdream/shield/v1/params.d.ts +16 -4
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/query.d.ts +8 -0
- package/sparkdream/shield/v1/query.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +36 -10
- package/sparkdream/shield/v1/types.d.ts +294 -13
- package/sparkdream/shield/v1/types.js +415 -16
- package/sparkdream/vault/module/v1/module.d.ts +54 -0
- package/sparkdream/vault/module/v1/module.js +74 -0
- package/sparkdream/vault/v1/genesis.d.ts +59 -0
- package/sparkdream/vault/v1/genesis.js +107 -0
- package/sparkdream/vault/v1/params.d.ts +68 -0
- package/sparkdream/vault/v1/params.js +93 -0
- package/sparkdream/vault/v1/query.d.ts +935 -0
- package/sparkdream/vault/v1/query.js +1538 -0
- package/sparkdream/vault/v1/query.lcd.d.ts +18 -0
- package/sparkdream/vault/v1/query.lcd.js +104 -0
- package/sparkdream/vault/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/vault/v1/query.rpc.Query.js +116 -0
- package/sparkdream/vault/v1/tx.amino.d.ts +44 -0
- package/sparkdream/vault/v1/tx.amino.js +115 -0
- package/sparkdream/vault/v1/tx.d.ts +826 -0
- package/sparkdream/vault/v1/tx.js +1399 -0
- package/sparkdream/vault/v1/tx.registry.d.ts +109 -0
- package/sparkdream/vault/v1/tx.registry.js +163 -0
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/vault/v1/tx.rpc.msg.js +65 -0
- package/sparkdream/vault/v1/vault.d.ts +117 -0
- package/sparkdream/vault/v1/vault.js +166 -0
- package/sparkdream/vault/v1/vault_proposal.d.ts +158 -0
- package/sparkdream/vault/v1/vault_proposal.js +285 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +54 -0
- package/sparkdream/vault/v1/vault_signer.js +88 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -15,13 +15,18 @@ export declare function contentStatusToJSON(object: ContentStatus): string;
|
|
|
15
15
|
/**
|
|
16
16
|
* TokenLock is the single lock a token can hold at a time. Every lock is
|
|
17
17
|
* exclusive: a locked token cannot be transferred, listed, burned or take a
|
|
18
|
-
* second lock.
|
|
19
|
-
* docs/x-artifact-spec.md §16.2.
|
|
18
|
+
* second lock (docs/x-artifact-spec.md §7.2, §16.2).
|
|
20
19
|
*/
|
|
21
20
|
export declare enum TokenLock {
|
|
22
21
|
TOKEN_LOCK_NONE = 0,
|
|
23
22
|
TOKEN_LOCK_LISTED = 1,
|
|
24
23
|
TOKEN_LOCK_PENDING_TRANSFER = 2,
|
|
24
|
+
/** TOKEN_LOCK_RENTED - A renter holds the token's user right until the rental ends. */
|
|
25
|
+
TOKEN_LOCK_RENTED = 3,
|
|
26
|
+
/** TOKEN_LOCK_NESTED - The token sits inside another token (Token.parent) and moves with it. */
|
|
27
|
+
TOKEN_LOCK_NESTED = 4,
|
|
28
|
+
/** TOKEN_LOCK_AUCTION - The token is up for an English auction (Auction). */
|
|
29
|
+
TOKEN_LOCK_AUCTION = 5,
|
|
25
30
|
UNRECOGNIZED = -1
|
|
26
31
|
}
|
|
27
32
|
export declare const TokenLockAmino: typeof TokenLock;
|
|
@@ -53,6 +58,9 @@ export declare enum InboxKind {
|
|
|
53
58
|
INBOX_KIND_UNSPECIFIED = 0,
|
|
54
59
|
INBOX_KIND_TRANSFER = 1,
|
|
55
60
|
INBOX_KIND_MINT = 2,
|
|
61
|
+
/** INBOX_KIND_UNIT_TRANSFER - Edition units (PendingUnits); inbox ref (0, pending_id). */
|
|
62
|
+
INBOX_KIND_UNIT_TRANSFER = 3,
|
|
63
|
+
INBOX_KIND_UNIT_MINT = 4,
|
|
56
64
|
UNRECOGNIZED = -1
|
|
57
65
|
}
|
|
58
66
|
export declare const InboxKindAmino: typeof InboxKind;
|
|
@@ -63,6 +71,8 @@ export declare enum HideTargetKind {
|
|
|
63
71
|
HIDE_TARGET_KIND_UNSPECIFIED = 0,
|
|
64
72
|
HIDE_TARGET_KIND_CLASS = 1,
|
|
65
73
|
HIDE_TARGET_KIND_TOKEN = 2,
|
|
74
|
+
/** HIDE_TARGET_KIND_EDITION - An edition of an EDITIONS class; token_id is the edition id. */
|
|
75
|
+
HIDE_TARGET_KIND_EDITION = 3,
|
|
66
76
|
UNRECOGNIZED = -1
|
|
67
77
|
}
|
|
68
78
|
export declare const HideTargetKindAmino: typeof HideTargetKind;
|
|
@@ -101,11 +111,321 @@ export declare enum BurnAuthorization {
|
|
|
101
111
|
BURN_AUTHORIZATION_ISSUER = 1,
|
|
102
112
|
/** BURN_AUTHORIZATION_HOLDER_OR_ISSUER - Either the holder (MsgBurn) or the class owner (MsgRevoke), alone. */
|
|
103
113
|
BURN_AUTHORIZATION_HOLDER_OR_ISSUER = 2,
|
|
114
|
+
/**
|
|
115
|
+
* BURN_AUTHORIZATION_NEITHER - Nobody: the token is permanent. Its deposit is burned as a fee, and it
|
|
116
|
+
* reaches nobody without their acceptance.
|
|
117
|
+
*/
|
|
118
|
+
BURN_AUTHORIZATION_NEITHER = 3,
|
|
104
119
|
UNRECOGNIZED = -1
|
|
105
120
|
}
|
|
106
121
|
export declare const BurnAuthorizationAmino: typeof BurnAuthorization;
|
|
107
122
|
export declare function burnAuthorizationFromJSON(object: any): BurnAuthorization;
|
|
108
123
|
export declare function burnAuthorizationToJSON(object: BurnAuthorization): string;
|
|
124
|
+
/** ExpiryMode says what happens to a token whose expires_at has passed. */
|
|
125
|
+
export declare enum ExpiryMode {
|
|
126
|
+
/** EXPIRY_MODE_NONE - Tokens never expire. The default. */
|
|
127
|
+
EXPIRY_MODE_NONE = 0,
|
|
128
|
+
/**
|
|
129
|
+
* EXPIRY_MODE_MARK - The token stays with its holder, marked expired: it cannot be redeemed,
|
|
130
|
+
* listed or bought until renewed, but may be held or given away.
|
|
131
|
+
*/
|
|
132
|
+
EXPIRY_MODE_MARK = 1,
|
|
133
|
+
/** EXPIRY_MODE_BURN - The EndBlocker burns the token and refunds its deposit to the holder. */
|
|
134
|
+
EXPIRY_MODE_BURN = 2,
|
|
135
|
+
UNRECOGNIZED = -1
|
|
136
|
+
}
|
|
137
|
+
export declare const ExpiryModeAmino: typeof ExpiryMode;
|
|
138
|
+
export declare function expiryModeFromJSON(object: any): ExpiryMode;
|
|
139
|
+
export declare function expiryModeToJSON(object: ExpiryMode): string;
|
|
140
|
+
/** MintPricing is how the public mint price is derived. */
|
|
141
|
+
export declare enum MintPricing {
|
|
142
|
+
/** MINT_PRICING_FIXED - Every token costs mint_policy.price. */
|
|
143
|
+
MINT_PRICING_FIXED = 0,
|
|
144
|
+
/** MINT_PRICING_LINEAR_SUPPLY - The k-th public mint (0-based) costs price + k * price_step. */
|
|
145
|
+
MINT_PRICING_LINEAR_SUPPLY = 1,
|
|
146
|
+
/**
|
|
147
|
+
* MINT_PRICING_DUTCH - Dutch auction: price falls linearly from price at start_time to
|
|
148
|
+
* floor_price at end_time. Both times are required.
|
|
149
|
+
*/
|
|
150
|
+
MINT_PRICING_DUTCH = 2,
|
|
151
|
+
UNRECOGNIZED = -1
|
|
152
|
+
}
|
|
153
|
+
export declare const MintPricingAmino: typeof MintPricing;
|
|
154
|
+
export declare function mintPricingFromJSON(object: any): MintPricing;
|
|
155
|
+
export declare function mintPricingToJSON(object: MintPricing): string;
|
|
156
|
+
/** RevealKind is the commit-reveal scheme a class uses. */
|
|
157
|
+
export declare enum RevealKind {
|
|
158
|
+
/** REVEAL_KIND_NONE - Metadata is set at mint. The default. */
|
|
159
|
+
REVEAL_KIND_NONE = 0,
|
|
160
|
+
/**
|
|
161
|
+
* REVEAL_KIND_BLIND_METADATA - Blind mint: every token's metadata is committed in a Merkle root at
|
|
162
|
+
* class creation and revealed per token (MsgReveal).
|
|
163
|
+
*/
|
|
164
|
+
REVEAL_KIND_BLIND_METADATA = 1,
|
|
165
|
+
/**
|
|
166
|
+
* REVEAL_KIND_GENERATIVE_SEED - Generative: the class commits SHA-256(seed) at creation and reveals the
|
|
167
|
+
* seed once (MsgRevealSeed); each token's seed derives from it.
|
|
168
|
+
*/
|
|
169
|
+
REVEAL_KIND_GENERATIVE_SEED = 2,
|
|
170
|
+
UNRECOGNIZED = -1
|
|
171
|
+
}
|
|
172
|
+
export declare const RevealKindAmino: typeof RevealKind;
|
|
173
|
+
export declare function revealKindFromJSON(object: any): RevealKind;
|
|
174
|
+
export declare function revealKindToJSON(object: RevealKind): string;
|
|
175
|
+
/** TokenModel is how a class holds its tokens. Fixed at creation. */
|
|
176
|
+
export declare enum TokenModel {
|
|
177
|
+
/** TOKEN_MODEL_UNIQUE - One owner per token id (Token). The default. */
|
|
178
|
+
TOKEN_MODEL_UNIQUE = 0,
|
|
179
|
+
/**
|
|
180
|
+
* TOKEN_MODEL_EDITIONS - Semi-fungible: the class issues editions, and each edition id is held
|
|
181
|
+
* as per-address balances of identical units (Edition, Balance).
|
|
182
|
+
*/
|
|
183
|
+
TOKEN_MODEL_EDITIONS = 1,
|
|
184
|
+
UNRECOGNIZED = -1
|
|
185
|
+
}
|
|
186
|
+
export declare const TokenModelAmino: typeof TokenModel;
|
|
187
|
+
export declare function tokenModelFromJSON(object: any): TokenModel;
|
|
188
|
+
export declare function tokenModelToJSON(object: TokenModel): string;
|
|
189
|
+
/**
|
|
190
|
+
* ExpiryPolicy is a class's token expiry rule, fixed at creation.
|
|
191
|
+
* @name ExpiryPolicy
|
|
192
|
+
* @package sparkdream.artifact.v1
|
|
193
|
+
* @see proto type: sparkdream.artifact.v1.ExpiryPolicy
|
|
194
|
+
*/
|
|
195
|
+
export interface ExpiryPolicy {
|
|
196
|
+
mode: ExpiryMode;
|
|
197
|
+
/**
|
|
198
|
+
* Seconds a token lives from mint (and per renewal). Required when mode
|
|
199
|
+
* is not NONE.
|
|
200
|
+
*/
|
|
201
|
+
term: bigint;
|
|
202
|
+
/**
|
|
203
|
+
* What a holder pays the class per renewal; denom must be the bond denom.
|
|
204
|
+
* May be zero. Issuer renewals are free.
|
|
205
|
+
*/
|
|
206
|
+
renewalPrice: Coin;
|
|
207
|
+
}
|
|
208
|
+
export interface ExpiryPolicyProtoMsg {
|
|
209
|
+
typeUrl: "/sparkdream.artifact.v1.ExpiryPolicy";
|
|
210
|
+
value: Uint8Array;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* ExpiryPolicy is a class's token expiry rule, fixed at creation.
|
|
214
|
+
* @name ExpiryPolicyAmino
|
|
215
|
+
* @package sparkdream.artifact.v1
|
|
216
|
+
* @see proto type: sparkdream.artifact.v1.ExpiryPolicy
|
|
217
|
+
*/
|
|
218
|
+
export interface ExpiryPolicyAmino {
|
|
219
|
+
mode?: ExpiryMode;
|
|
220
|
+
/**
|
|
221
|
+
* Seconds a token lives from mint (and per renewal). Required when mode
|
|
222
|
+
* is not NONE.
|
|
223
|
+
*/
|
|
224
|
+
term?: string;
|
|
225
|
+
/**
|
|
226
|
+
* What a holder pays the class per renewal; denom must be the bond denom.
|
|
227
|
+
* May be zero. Issuer renewals are free.
|
|
228
|
+
*/
|
|
229
|
+
renewal_price: CoinAmino;
|
|
230
|
+
}
|
|
231
|
+
export interface ExpiryPolicyAminoMsg {
|
|
232
|
+
type: "/sparkdream.artifact.v1.ExpiryPolicy";
|
|
233
|
+
value: ExpiryPolicyAmino;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* RevealPolicy is a class's commit-reveal state.
|
|
237
|
+
* @name RevealPolicy
|
|
238
|
+
* @package sparkdream.artifact.v1
|
|
239
|
+
* @see proto type: sparkdream.artifact.v1.RevealPolicy
|
|
240
|
+
*/
|
|
241
|
+
export interface RevealPolicy {
|
|
242
|
+
kind: RevealKind;
|
|
243
|
+
/**
|
|
244
|
+
* Lowercase hex SHA-256: the Merkle root (BLIND_METADATA) or the seed
|
|
245
|
+
* hash (GENERATIVE_SEED). Fixed at creation.
|
|
246
|
+
*/
|
|
247
|
+
commitment: string;
|
|
248
|
+
/**
|
|
249
|
+
* Unix seconds. After it, the holder of an unrevealed token may burn it
|
|
250
|
+
* for a full refund of the mint price and deposit. Fixed at creation.
|
|
251
|
+
*/
|
|
252
|
+
deadline: bigint;
|
|
253
|
+
/**
|
|
254
|
+
* GENERATIVE_SEED only: block time of MsgRevealSeed, 0 until revealed.
|
|
255
|
+
*/
|
|
256
|
+
revealedAt: bigint;
|
|
257
|
+
/**
|
|
258
|
+
* GENERATIVE_SEED only: the revealed seed (lowercase hex).
|
|
259
|
+
*/
|
|
260
|
+
seed: string;
|
|
261
|
+
}
|
|
262
|
+
export interface RevealPolicyProtoMsg {
|
|
263
|
+
typeUrl: "/sparkdream.artifact.v1.RevealPolicy";
|
|
264
|
+
value: Uint8Array;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* RevealPolicy is a class's commit-reveal state.
|
|
268
|
+
* @name RevealPolicyAmino
|
|
269
|
+
* @package sparkdream.artifact.v1
|
|
270
|
+
* @see proto type: sparkdream.artifact.v1.RevealPolicy
|
|
271
|
+
*/
|
|
272
|
+
export interface RevealPolicyAmino {
|
|
273
|
+
kind?: RevealKind;
|
|
274
|
+
/**
|
|
275
|
+
* Lowercase hex SHA-256: the Merkle root (BLIND_METADATA) or the seed
|
|
276
|
+
* hash (GENERATIVE_SEED). Fixed at creation.
|
|
277
|
+
*/
|
|
278
|
+
commitment?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Unix seconds. After it, the holder of an unrevealed token may burn it
|
|
281
|
+
* for a full refund of the mint price and deposit. Fixed at creation.
|
|
282
|
+
*/
|
|
283
|
+
deadline?: string;
|
|
284
|
+
/**
|
|
285
|
+
* GENERATIVE_SEED only: block time of MsgRevealSeed, 0 until revealed.
|
|
286
|
+
*/
|
|
287
|
+
revealed_at?: string;
|
|
288
|
+
/**
|
|
289
|
+
* GENERATIVE_SEED only: the revealed seed (lowercase hex).
|
|
290
|
+
*/
|
|
291
|
+
seed?: string;
|
|
292
|
+
}
|
|
293
|
+
export interface RevealPolicyAminoMsg {
|
|
294
|
+
type: "/sparkdream.artifact.v1.RevealPolicy";
|
|
295
|
+
value: RevealPolicyAmino;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Renderer names the pure Gno package x/gnovm evaluates at query time to
|
|
299
|
+
* produce a token's displayed metadata. Fixed at creation.
|
|
300
|
+
* @name Renderer
|
|
301
|
+
* @package sparkdream.artifact.v1
|
|
302
|
+
* @see proto type: sparkdream.artifact.v1.Renderer
|
|
303
|
+
*/
|
|
304
|
+
export interface Renderer {
|
|
305
|
+
/**
|
|
306
|
+
* Pure package path (gno.land/p/...); "" = no renderer.
|
|
307
|
+
*/
|
|
308
|
+
pkgPath: string;
|
|
309
|
+
/**
|
|
310
|
+
* Lowercase hex SHA-256 over the package's source files (see
|
|
311
|
+
* RendererSourceHash); must match the stored package.
|
|
312
|
+
*/
|
|
313
|
+
sourceHash: string;
|
|
314
|
+
/**
|
|
315
|
+
* 0 = Render(classID, tokenID, seed, blockTime, height); 1 or 2 =
|
|
316
|
+
* RenderState with the token's state document of that version as a
|
|
317
|
+
* sixth argument (v2 adds x/season state and the nested contents).
|
|
318
|
+
*/
|
|
319
|
+
stateVersion: number;
|
|
320
|
+
}
|
|
321
|
+
export interface RendererProtoMsg {
|
|
322
|
+
typeUrl: "/sparkdream.artifact.v1.Renderer";
|
|
323
|
+
value: Uint8Array;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Renderer names the pure Gno package x/gnovm evaluates at query time to
|
|
327
|
+
* produce a token's displayed metadata. Fixed at creation.
|
|
328
|
+
* @name RendererAmino
|
|
329
|
+
* @package sparkdream.artifact.v1
|
|
330
|
+
* @see proto type: sparkdream.artifact.v1.Renderer
|
|
331
|
+
*/
|
|
332
|
+
export interface RendererAmino {
|
|
333
|
+
/**
|
|
334
|
+
* Pure package path (gno.land/p/...); "" = no renderer.
|
|
335
|
+
*/
|
|
336
|
+
pkg_path?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Lowercase hex SHA-256 over the package's source files (see
|
|
339
|
+
* RendererSourceHash); must match the stored package.
|
|
340
|
+
*/
|
|
341
|
+
source_hash?: string;
|
|
342
|
+
/**
|
|
343
|
+
* 0 = Render(classID, tokenID, seed, blockTime, height); 1 or 2 =
|
|
344
|
+
* RenderState with the token's state document of that version as a
|
|
345
|
+
* sixth argument (v2 adds x/season state and the nested contents).
|
|
346
|
+
*/
|
|
347
|
+
state_version?: number;
|
|
348
|
+
}
|
|
349
|
+
export interface RendererAminoMsg {
|
|
350
|
+
type: "/sparkdream.artifact.v1.Renderer";
|
|
351
|
+
value: RendererAmino;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* MetadataStage is one step of a token's metadata schedule.
|
|
355
|
+
* @name MetadataStage
|
|
356
|
+
* @package sparkdream.artifact.v1
|
|
357
|
+
* @see proto type: sparkdream.artifact.v1.MetadataStage
|
|
358
|
+
*/
|
|
359
|
+
export interface MetadataStage {
|
|
360
|
+
/**
|
|
361
|
+
* Unix seconds from which this stage is displayed.
|
|
362
|
+
*/
|
|
363
|
+
fromTime: bigint;
|
|
364
|
+
metadata: TokenMetadata;
|
|
365
|
+
}
|
|
366
|
+
export interface MetadataStageProtoMsg {
|
|
367
|
+
typeUrl: "/sparkdream.artifact.v1.MetadataStage";
|
|
368
|
+
value: Uint8Array;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* MetadataStage is one step of a token's metadata schedule.
|
|
372
|
+
* @name MetadataStageAmino
|
|
373
|
+
* @package sparkdream.artifact.v1
|
|
374
|
+
* @see proto type: sparkdream.artifact.v1.MetadataStage
|
|
375
|
+
*/
|
|
376
|
+
export interface MetadataStageAmino {
|
|
377
|
+
/**
|
|
378
|
+
* Unix seconds from which this stage is displayed.
|
|
379
|
+
*/
|
|
380
|
+
from_time?: string;
|
|
381
|
+
metadata: TokenMetadataAmino;
|
|
382
|
+
}
|
|
383
|
+
export interface MetadataStageAminoMsg {
|
|
384
|
+
type: "/sparkdream.artifact.v1.MetadataStage";
|
|
385
|
+
value: MetadataStageAmino;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* MediaProposal is a media version the class owner offered a token's holder.
|
|
389
|
+
* @name MediaProposal
|
|
390
|
+
* @package sparkdream.artifact.v1
|
|
391
|
+
* @see proto type: sparkdream.artifact.v1.MediaProposal
|
|
392
|
+
*/
|
|
393
|
+
export interface MediaProposal {
|
|
394
|
+
classId: bigint;
|
|
395
|
+
tokenId: bigint;
|
|
396
|
+
/**
|
|
397
|
+
* Per token, from Token.next_media_proposal_id.
|
|
398
|
+
*/
|
|
399
|
+
id: bigint;
|
|
400
|
+
proposer: string;
|
|
401
|
+
metadata: TokenMetadata;
|
|
402
|
+
createdAt: bigint;
|
|
403
|
+
}
|
|
404
|
+
export interface MediaProposalProtoMsg {
|
|
405
|
+
typeUrl: "/sparkdream.artifact.v1.MediaProposal";
|
|
406
|
+
value: Uint8Array;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* MediaProposal is a media version the class owner offered a token's holder.
|
|
410
|
+
* @name MediaProposalAmino
|
|
411
|
+
* @package sparkdream.artifact.v1
|
|
412
|
+
* @see proto type: sparkdream.artifact.v1.MediaProposal
|
|
413
|
+
*/
|
|
414
|
+
export interface MediaProposalAmino {
|
|
415
|
+
class_id?: string;
|
|
416
|
+
token_id?: string;
|
|
417
|
+
/**
|
|
418
|
+
* Per token, from Token.next_media_proposal_id.
|
|
419
|
+
*/
|
|
420
|
+
id?: string;
|
|
421
|
+
proposer?: string;
|
|
422
|
+
metadata: TokenMetadataAmino;
|
|
423
|
+
created_at?: string;
|
|
424
|
+
}
|
|
425
|
+
export interface MediaProposalAminoMsg {
|
|
426
|
+
type: "/sparkdream.artifact.v1.MediaProposal";
|
|
427
|
+
value: MediaProposalAmino;
|
|
428
|
+
}
|
|
109
429
|
/**
|
|
110
430
|
* ClassFlags are fixed at class creation and never change.
|
|
111
431
|
* @name ClassFlags
|
|
@@ -126,6 +446,23 @@ export interface ClassFlags {
|
|
|
126
446
|
* true = the class owner may edit token metadata until frozen.
|
|
127
447
|
*/
|
|
128
448
|
tokenMetadataMutable: boolean;
|
|
449
|
+
/**
|
|
450
|
+
* true = mutual attestation: every mint waits for the recipient's
|
|
451
|
+
* acceptance and either party may burn. Requires
|
|
452
|
+
* burn_authorization == HOLDER_OR_ISSUER (hence non-transferable) and a
|
|
453
|
+
* recipient other than the minter.
|
|
454
|
+
*/
|
|
455
|
+
mutual: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* true = the class owner or a listed minter may redeem tokens (MsgRedeem).
|
|
458
|
+
*/
|
|
459
|
+
redeemable: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* true = redeemed tokens stay transferable as souvenirs; false = a
|
|
462
|
+
* redeemed token can no longer be transferred or listed. Requires
|
|
463
|
+
* redeemable and transferable.
|
|
464
|
+
*/
|
|
465
|
+
redeemedTransferable: boolean;
|
|
129
466
|
}
|
|
130
467
|
export interface ClassFlagsProtoMsg {
|
|
131
468
|
typeUrl: "/sparkdream.artifact.v1.ClassFlags";
|
|
@@ -151,6 +488,23 @@ export interface ClassFlagsAmino {
|
|
|
151
488
|
* true = the class owner may edit token metadata until frozen.
|
|
152
489
|
*/
|
|
153
490
|
token_metadata_mutable?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* true = mutual attestation: every mint waits for the recipient's
|
|
493
|
+
* acceptance and either party may burn. Requires
|
|
494
|
+
* burn_authorization == HOLDER_OR_ISSUER (hence non-transferable) and a
|
|
495
|
+
* recipient other than the minter.
|
|
496
|
+
*/
|
|
497
|
+
mutual?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* true = the class owner or a listed minter may redeem tokens (MsgRedeem).
|
|
500
|
+
*/
|
|
501
|
+
redeemable?: boolean;
|
|
502
|
+
/**
|
|
503
|
+
* true = redeemed tokens stay transferable as souvenirs; false = a
|
|
504
|
+
* redeemed token can no longer be transferred or listed. Requires
|
|
505
|
+
* redeemable and transferable.
|
|
506
|
+
*/
|
|
507
|
+
redeemed_transferable?: boolean;
|
|
154
508
|
}
|
|
155
509
|
export interface ClassFlagsAminoMsg {
|
|
156
510
|
type: "/sparkdream.artifact.v1.ClassFlags";
|
|
@@ -180,6 +534,18 @@ export interface MintPolicy {
|
|
|
180
534
|
* 0 = unlimited; counted per (class, address) over the class's life.
|
|
181
535
|
*/
|
|
182
536
|
perAddressLimit: number;
|
|
537
|
+
/**
|
|
538
|
+
* Price curve. Fixed once public minting has opened.
|
|
539
|
+
*/
|
|
540
|
+
pricing: MintPricing;
|
|
541
|
+
/**
|
|
542
|
+
* LINEAR_SUPPLY: bond-denom amount added per public mint so far.
|
|
543
|
+
*/
|
|
544
|
+
priceStep: string;
|
|
545
|
+
/**
|
|
546
|
+
* DUTCH: bond-denom amount the price falls to at end_time (<= price).
|
|
547
|
+
*/
|
|
548
|
+
floorPrice: string;
|
|
183
549
|
}
|
|
184
550
|
export interface MintPolicyProtoMsg {
|
|
185
551
|
typeUrl: "/sparkdream.artifact.v1.MintPolicy";
|
|
@@ -209,6 +575,18 @@ export interface MintPolicyAmino {
|
|
|
209
575
|
* 0 = unlimited; counted per (class, address) over the class's life.
|
|
210
576
|
*/
|
|
211
577
|
per_address_limit?: number;
|
|
578
|
+
/**
|
|
579
|
+
* Price curve. Fixed once public minting has opened.
|
|
580
|
+
*/
|
|
581
|
+
pricing?: MintPricing;
|
|
582
|
+
/**
|
|
583
|
+
* LINEAR_SUPPLY: bond-denom amount added per public mint so far.
|
|
584
|
+
*/
|
|
585
|
+
price_step?: string;
|
|
586
|
+
/**
|
|
587
|
+
* DUTCH: bond-denom amount the price falls to at end_time (<= price).
|
|
588
|
+
*/
|
|
589
|
+
floor_price?: string;
|
|
212
590
|
}
|
|
213
591
|
export interface MintPolicyAminoMsg {
|
|
214
592
|
type: "/sparkdream.artifact.v1.MintPolicy";
|
|
@@ -254,6 +632,43 @@ export interface Class {
|
|
|
254
632
|
mediaRulesVersion: number;
|
|
255
633
|
createdAt: bigint;
|
|
256
634
|
updatedAt: bigint;
|
|
635
|
+
/**
|
|
636
|
+
* Fixed at creation.
|
|
637
|
+
*/
|
|
638
|
+
expiry: ExpiryPolicy;
|
|
639
|
+
/**
|
|
640
|
+
* Kind, commitment and deadline fixed at creation; seed set by reveal.
|
|
641
|
+
*/
|
|
642
|
+
reveal: RevealPolicy;
|
|
643
|
+
/**
|
|
644
|
+
* Fixed at creation.
|
|
645
|
+
*/
|
|
646
|
+
renderer: Renderer;
|
|
647
|
+
/**
|
|
648
|
+
* One-way: false -> true. Freezes royalty_bps and royalty_recipients.
|
|
649
|
+
*/
|
|
650
|
+
royaltyLocked: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Tokens sold through MsgPublicMint so far; drives LINEAR_SUPPLY pricing.
|
|
653
|
+
*/
|
|
654
|
+
publicMinted: bigint;
|
|
655
|
+
/**
|
|
656
|
+
* Fixed at creation.
|
|
657
|
+
*/
|
|
658
|
+
tokenModel: TokenModel;
|
|
659
|
+
/**
|
|
660
|
+
* Fixed at creation; tax_bps_per_year 0 = plain class.
|
|
661
|
+
*/
|
|
662
|
+
harberger: HarbergerPolicy;
|
|
663
|
+
/**
|
|
664
|
+
* Set by the first craft into the class: recipes can then only be
|
|
665
|
+
* removed.
|
|
666
|
+
*/
|
|
667
|
+
craftingLocked: boolean;
|
|
668
|
+
/**
|
|
669
|
+
* Last assigned recipe id.
|
|
670
|
+
*/
|
|
671
|
+
nextRecipeId: bigint;
|
|
257
672
|
}
|
|
258
673
|
export interface ClassProtoMsg {
|
|
259
674
|
typeUrl: "/sparkdream.artifact.v1.Class";
|
|
@@ -299,6 +714,43 @@ export interface ClassAmino {
|
|
|
299
714
|
media_rules_version?: number;
|
|
300
715
|
created_at?: string;
|
|
301
716
|
updated_at?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Fixed at creation.
|
|
719
|
+
*/
|
|
720
|
+
expiry: ExpiryPolicyAmino;
|
|
721
|
+
/**
|
|
722
|
+
* Kind, commitment and deadline fixed at creation; seed set by reveal.
|
|
723
|
+
*/
|
|
724
|
+
reveal: RevealPolicyAmino;
|
|
725
|
+
/**
|
|
726
|
+
* Fixed at creation.
|
|
727
|
+
*/
|
|
728
|
+
renderer: RendererAmino;
|
|
729
|
+
/**
|
|
730
|
+
* One-way: false -> true. Freezes royalty_bps and royalty_recipients.
|
|
731
|
+
*/
|
|
732
|
+
royalty_locked?: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Tokens sold through MsgPublicMint so far; drives LINEAR_SUPPLY pricing.
|
|
735
|
+
*/
|
|
736
|
+
public_minted?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Fixed at creation.
|
|
739
|
+
*/
|
|
740
|
+
token_model?: TokenModel;
|
|
741
|
+
/**
|
|
742
|
+
* Fixed at creation; tax_bps_per_year 0 = plain class.
|
|
743
|
+
*/
|
|
744
|
+
harberger: HarbergerPolicyAmino;
|
|
745
|
+
/**
|
|
746
|
+
* Set by the first craft into the class: recipes can then only be
|
|
747
|
+
* removed.
|
|
748
|
+
*/
|
|
749
|
+
crafting_locked?: boolean;
|
|
750
|
+
/**
|
|
751
|
+
* Last assigned recipe id.
|
|
752
|
+
*/
|
|
753
|
+
next_recipe_id?: string;
|
|
302
754
|
}
|
|
303
755
|
export interface ClassAminoMsg {
|
|
304
756
|
type: "/sparkdream.artifact.v1.Class";
|
|
@@ -426,6 +878,50 @@ export interface Token {
|
|
|
426
878
|
mediaFlags: number;
|
|
427
879
|
mediaRulesVersion: number;
|
|
428
880
|
mintedAt: bigint;
|
|
881
|
+
/**
|
|
882
|
+
* Unix seconds; 0 = never expires.
|
|
883
|
+
*/
|
|
884
|
+
expiresAt: bigint;
|
|
885
|
+
/**
|
|
886
|
+
* Unix seconds of MsgRedeem; 0 = not redeemed.
|
|
887
|
+
*/
|
|
888
|
+
redeemedAt: bigint;
|
|
889
|
+
/**
|
|
890
|
+
* Metadata schedule fixed at mint; metadata is the stage before the
|
|
891
|
+
* first from_time.
|
|
892
|
+
*/
|
|
893
|
+
schedule: MetadataStage[];
|
|
894
|
+
/**
|
|
895
|
+
* Media versions the holder accepted, in acceptance order.
|
|
896
|
+
*/
|
|
897
|
+
mediaVersions: TokenMetadata[];
|
|
898
|
+
/**
|
|
899
|
+
* 0 = metadata (or schedule); n = media_versions[n-1].
|
|
900
|
+
*/
|
|
901
|
+
displayedVersion: number;
|
|
902
|
+
/**
|
|
903
|
+
* true until a BLIND_METADATA class reveals this token.
|
|
904
|
+
*/
|
|
905
|
+
unrevealed: boolean;
|
|
906
|
+
/**
|
|
907
|
+
* Public-mint price held in the module account until the class or token
|
|
908
|
+
* is revealed; refunded with the deposit if the holder burns an
|
|
909
|
+
* unrevealed token after the reveal deadline. 0 otherwise.
|
|
910
|
+
*/
|
|
911
|
+
paid: string;
|
|
912
|
+
nextMediaProposalId: bigint;
|
|
913
|
+
/**
|
|
914
|
+
* Harberger classes only: the self-assessment and tax status.
|
|
915
|
+
*/
|
|
916
|
+
harberger?: HarbergerState;
|
|
917
|
+
/**
|
|
918
|
+
* Set while nested (lock = NESTED): the token this one sits in.
|
|
919
|
+
*/
|
|
920
|
+
parent?: TokenRef;
|
|
921
|
+
/**
|
|
922
|
+
* Tokens nested under this one, at any depth.
|
|
923
|
+
*/
|
|
924
|
+
descendants: number;
|
|
429
925
|
}
|
|
430
926
|
export interface TokenProtoMsg {
|
|
431
927
|
typeUrl: "/sparkdream.artifact.v1.Token";
|
|
@@ -457,6 +953,50 @@ export interface TokenAmino {
|
|
|
457
953
|
media_flags?: number;
|
|
458
954
|
media_rules_version?: number;
|
|
459
955
|
minted_at?: string;
|
|
956
|
+
/**
|
|
957
|
+
* Unix seconds; 0 = never expires.
|
|
958
|
+
*/
|
|
959
|
+
expires_at?: string;
|
|
960
|
+
/**
|
|
961
|
+
* Unix seconds of MsgRedeem; 0 = not redeemed.
|
|
962
|
+
*/
|
|
963
|
+
redeemed_at?: string;
|
|
964
|
+
/**
|
|
965
|
+
* Metadata schedule fixed at mint; metadata is the stage before the
|
|
966
|
+
* first from_time.
|
|
967
|
+
*/
|
|
968
|
+
schedule?: MetadataStageAmino[];
|
|
969
|
+
/**
|
|
970
|
+
* Media versions the holder accepted, in acceptance order.
|
|
971
|
+
*/
|
|
972
|
+
media_versions?: TokenMetadataAmino[];
|
|
973
|
+
/**
|
|
974
|
+
* 0 = metadata (or schedule); n = media_versions[n-1].
|
|
975
|
+
*/
|
|
976
|
+
displayed_version?: number;
|
|
977
|
+
/**
|
|
978
|
+
* true until a BLIND_METADATA class reveals this token.
|
|
979
|
+
*/
|
|
980
|
+
unrevealed?: boolean;
|
|
981
|
+
/**
|
|
982
|
+
* Public-mint price held in the module account until the class or token
|
|
983
|
+
* is revealed; refunded with the deposit if the holder burns an
|
|
984
|
+
* unrevealed token after the reveal deadline. 0 otherwise.
|
|
985
|
+
*/
|
|
986
|
+
paid?: string;
|
|
987
|
+
next_media_proposal_id?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Harberger classes only: the self-assessment and tax status.
|
|
990
|
+
*/
|
|
991
|
+
harberger?: HarbergerStateAmino;
|
|
992
|
+
/**
|
|
993
|
+
* Set while nested (lock = NESTED): the token this one sits in.
|
|
994
|
+
*/
|
|
995
|
+
parent?: TokenRefAmino;
|
|
996
|
+
/**
|
|
997
|
+
* Tokens nested under this one, at any depth.
|
|
998
|
+
*/
|
|
999
|
+
descendants?: number;
|
|
460
1000
|
}
|
|
461
1001
|
export interface TokenAminoMsg {
|
|
462
1002
|
type: "/sparkdream.artifact.v1.Token";
|
|
@@ -542,6 +1082,8 @@ export interface PendingMint {
|
|
|
542
1082
|
deposit: string;
|
|
543
1083
|
createdAt: bigint;
|
|
544
1084
|
expiresAt: bigint;
|
|
1085
|
+
schedule: MetadataStage[];
|
|
1086
|
+
unrevealed: boolean;
|
|
545
1087
|
}
|
|
546
1088
|
export interface PendingMintProtoMsg {
|
|
547
1089
|
typeUrl: "/sparkdream.artifact.v1.PendingMint";
|
|
@@ -563,6 +1105,8 @@ export interface PendingMintAmino {
|
|
|
563
1105
|
deposit?: string;
|
|
564
1106
|
created_at?: string;
|
|
565
1107
|
expires_at?: string;
|
|
1108
|
+
schedule?: MetadataStageAmino[];
|
|
1109
|
+
unrevealed?: boolean;
|
|
566
1110
|
}
|
|
567
1111
|
export interface PendingMintAminoMsg {
|
|
568
1112
|
type: "/sparkdream.artifact.v1.PendingMint";
|
|
@@ -849,31 +1393,988 @@ export interface SentinelDailyHideEntryAminoMsg {
|
|
|
849
1393
|
value: SentinelDailyHideEntryAmino;
|
|
850
1394
|
}
|
|
851
1395
|
/**
|
|
852
|
-
*
|
|
853
|
-
*
|
|
854
|
-
*
|
|
855
|
-
*
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
typeUrl: string;
|
|
859
|
-
encode(message: ClassFlags, writer?: BinaryWriter): BinaryWriter;
|
|
860
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ClassFlags;
|
|
861
|
-
fromPartial(object: DeepPartial<ClassFlags>): ClassFlags;
|
|
862
|
-
fromAmino(object: ClassFlagsAmino): ClassFlags;
|
|
863
|
-
toAmino(message: ClassFlags): ClassFlagsAmino;
|
|
864
|
-
fromAminoMsg(object: ClassFlagsAminoMsg): ClassFlags;
|
|
865
|
-
fromProtoMsg(message: ClassFlagsProtoMsg): ClassFlags;
|
|
866
|
-
toProto(message: ClassFlags): Uint8Array;
|
|
867
|
-
toProtoMsg(message: ClassFlags): ClassFlagsProtoMsg;
|
|
868
|
-
};
|
|
869
|
-
/**
|
|
870
|
-
* MintPolicy configures public minting (MsgPublicMint).
|
|
871
|
-
* @name MintPolicy
|
|
1396
|
+
* HarbergerPolicy makes a class's tokens partially commonly owned: each
|
|
1397
|
+
* holder self-assesses a price, anyone may buy the token at that price at
|
|
1398
|
+
* any time, and the holder pays a yearly tax on it to the community pool
|
|
1399
|
+
* through an x/session RecurringPull. Fixed at creation; tax_bps_per_year 0
|
|
1400
|
+
* means a plain class.
|
|
1401
|
+
* @name HarbergerPolicy
|
|
872
1402
|
* @package sparkdream.artifact.v1
|
|
873
|
-
* @see proto type: sparkdream.artifact.v1.
|
|
1403
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerPolicy
|
|
874
1404
|
*/
|
|
875
|
-
export
|
|
876
|
-
|
|
1405
|
+
export interface HarbergerPolicy {
|
|
1406
|
+
/**
|
|
1407
|
+
* Yearly tax on the assessed price, in basis points.
|
|
1408
|
+
*/
|
|
1409
|
+
taxBpsPerYear: number;
|
|
1410
|
+
/**
|
|
1411
|
+
* Seconds between tax pulls; the RecurringPull period must equal it.
|
|
1412
|
+
*/
|
|
1413
|
+
taxPeriod: bigint;
|
|
1414
|
+
/**
|
|
1415
|
+
* Seconds over which the price falls linearly to zero after a missed
|
|
1416
|
+
* payment (foreclosure).
|
|
1417
|
+
*/
|
|
1418
|
+
foreclosureDuration: bigint;
|
|
1419
|
+
}
|
|
1420
|
+
export interface HarbergerPolicyProtoMsg {
|
|
1421
|
+
typeUrl: "/sparkdream.artifact.v1.HarbergerPolicy";
|
|
1422
|
+
value: Uint8Array;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* HarbergerPolicy makes a class's tokens partially commonly owned: each
|
|
1426
|
+
* holder self-assesses a price, anyone may buy the token at that price at
|
|
1427
|
+
* any time, and the holder pays a yearly tax on it to the community pool
|
|
1428
|
+
* through an x/session RecurringPull. Fixed at creation; tax_bps_per_year 0
|
|
1429
|
+
* means a plain class.
|
|
1430
|
+
* @name HarbergerPolicyAmino
|
|
1431
|
+
* @package sparkdream.artifact.v1
|
|
1432
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerPolicy
|
|
1433
|
+
*/
|
|
1434
|
+
export interface HarbergerPolicyAmino {
|
|
1435
|
+
/**
|
|
1436
|
+
* Yearly tax on the assessed price, in basis points.
|
|
1437
|
+
*/
|
|
1438
|
+
tax_bps_per_year?: number;
|
|
1439
|
+
/**
|
|
1440
|
+
* Seconds between tax pulls; the RecurringPull period must equal it.
|
|
1441
|
+
*/
|
|
1442
|
+
tax_period?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Seconds over which the price falls linearly to zero after a missed
|
|
1445
|
+
* payment (foreclosure).
|
|
1446
|
+
*/
|
|
1447
|
+
foreclosure_duration?: string;
|
|
1448
|
+
}
|
|
1449
|
+
export interface HarbergerPolicyAminoMsg {
|
|
1450
|
+
type: "/sparkdream.artifact.v1.HarbergerPolicy";
|
|
1451
|
+
value: HarbergerPolicyAmino;
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
* HarbergerState is a Harberger token's self-assessment and tax status.
|
|
1455
|
+
* @name HarbergerState
|
|
1456
|
+
* @package sparkdream.artifact.v1
|
|
1457
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerState
|
|
1458
|
+
*/
|
|
1459
|
+
export interface HarbergerState {
|
|
1460
|
+
/**
|
|
1461
|
+
* The self-assessed price buyers pay (bond denom).
|
|
1462
|
+
*/
|
|
1463
|
+
price: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* The x/session RecurringPull that pays the tax; 0 = none.
|
|
1466
|
+
*/
|
|
1467
|
+
grantId: bigint;
|
|
1468
|
+
/**
|
|
1469
|
+
* Unix seconds of the next tax pull; 0 when no grant is set.
|
|
1470
|
+
*/
|
|
1471
|
+
nextDue: bigint;
|
|
1472
|
+
/**
|
|
1473
|
+
* Unix seconds until which a holder without a grant is not foreclosed
|
|
1474
|
+
* (one tax period after the token arrived).
|
|
1475
|
+
*/
|
|
1476
|
+
graceUntil: bigint;
|
|
1477
|
+
/**
|
|
1478
|
+
* Unix seconds from which the price falls; 0 = not foreclosed.
|
|
1479
|
+
*/
|
|
1480
|
+
foreclosedAt: bigint;
|
|
1481
|
+
/**
|
|
1482
|
+
* Tax paid by the current holder so far.
|
|
1483
|
+
*/
|
|
1484
|
+
taxPaid: string;
|
|
1485
|
+
}
|
|
1486
|
+
export interface HarbergerStateProtoMsg {
|
|
1487
|
+
typeUrl: "/sparkdream.artifact.v1.HarbergerState";
|
|
1488
|
+
value: Uint8Array;
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* HarbergerState is a Harberger token's self-assessment and tax status.
|
|
1492
|
+
* @name HarbergerStateAmino
|
|
1493
|
+
* @package sparkdream.artifact.v1
|
|
1494
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerState
|
|
1495
|
+
*/
|
|
1496
|
+
export interface HarbergerStateAmino {
|
|
1497
|
+
/**
|
|
1498
|
+
* The self-assessed price buyers pay (bond denom).
|
|
1499
|
+
*/
|
|
1500
|
+
price?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* The x/session RecurringPull that pays the tax; 0 = none.
|
|
1503
|
+
*/
|
|
1504
|
+
grant_id?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* Unix seconds of the next tax pull; 0 when no grant is set.
|
|
1507
|
+
*/
|
|
1508
|
+
next_due?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Unix seconds until which a holder without a grant is not foreclosed
|
|
1511
|
+
* (one tax period after the token arrived).
|
|
1512
|
+
*/
|
|
1513
|
+
grace_until?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* Unix seconds from which the price falls; 0 = not foreclosed.
|
|
1516
|
+
*/
|
|
1517
|
+
foreclosed_at?: string;
|
|
1518
|
+
/**
|
|
1519
|
+
* Tax paid by the current holder so far.
|
|
1520
|
+
*/
|
|
1521
|
+
tax_paid?: string;
|
|
1522
|
+
}
|
|
1523
|
+
export interface HarbergerStateAminoMsg {
|
|
1524
|
+
type: "/sparkdream.artifact.v1.HarbergerState";
|
|
1525
|
+
value: HarbergerStateAmino;
|
|
1526
|
+
}
|
|
1527
|
+
/**
|
|
1528
|
+
* Rental is an active time-limited user right on one token. The token is
|
|
1529
|
+
* RENTED-locked: it cannot move, be listed, burned or nested until the
|
|
1530
|
+
* rental ends.
|
|
1531
|
+
* @name Rental
|
|
1532
|
+
* @package sparkdream.artifact.v1
|
|
1533
|
+
* @see proto type: sparkdream.artifact.v1.Rental
|
|
1534
|
+
*/
|
|
1535
|
+
export interface Rental {
|
|
1536
|
+
classId: bigint;
|
|
1537
|
+
tokenId: bigint;
|
|
1538
|
+
owner: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* The renter.
|
|
1541
|
+
*/
|
|
1542
|
+
user: string;
|
|
1543
|
+
startedAt: bigint;
|
|
1544
|
+
expiresAt: bigint;
|
|
1545
|
+
/**
|
|
1546
|
+
* Whether the owner may end the rental before expires_at.
|
|
1547
|
+
*/
|
|
1548
|
+
ownerMayEnd: boolean;
|
|
1549
|
+
price: Coin;
|
|
1550
|
+
}
|
|
1551
|
+
export interface RentalProtoMsg {
|
|
1552
|
+
typeUrl: "/sparkdream.artifact.v1.Rental";
|
|
1553
|
+
value: Uint8Array;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* Rental is an active time-limited user right on one token. The token is
|
|
1557
|
+
* RENTED-locked: it cannot move, be listed, burned or nested until the
|
|
1558
|
+
* rental ends.
|
|
1559
|
+
* @name RentalAmino
|
|
1560
|
+
* @package sparkdream.artifact.v1
|
|
1561
|
+
* @see proto type: sparkdream.artifact.v1.Rental
|
|
1562
|
+
*/
|
|
1563
|
+
export interface RentalAmino {
|
|
1564
|
+
class_id?: string;
|
|
1565
|
+
token_id?: string;
|
|
1566
|
+
owner?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* The renter.
|
|
1569
|
+
*/
|
|
1570
|
+
user?: string;
|
|
1571
|
+
started_at?: string;
|
|
1572
|
+
expires_at?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Whether the owner may end the rental before expires_at.
|
|
1575
|
+
*/
|
|
1576
|
+
owner_may_end?: boolean;
|
|
1577
|
+
price: CoinAmino;
|
|
1578
|
+
}
|
|
1579
|
+
export interface RentalAminoMsg {
|
|
1580
|
+
type: "/sparkdream.artifact.v1.Rental";
|
|
1581
|
+
value: RentalAmino;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* RentalOffer is an owner's standing offer to rent a token out. Nothing is
|
|
1585
|
+
* locked or escrowed; MsgAcceptRental settles it atomically.
|
|
1586
|
+
* @name RentalOffer
|
|
1587
|
+
* @package sparkdream.artifact.v1
|
|
1588
|
+
* @see proto type: sparkdream.artifact.v1.RentalOffer
|
|
1589
|
+
*/
|
|
1590
|
+
export interface RentalOffer {
|
|
1591
|
+
classId: bigint;
|
|
1592
|
+
tokenId: bigint;
|
|
1593
|
+
owner: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* Who may accept; "" = anyone.
|
|
1596
|
+
*/
|
|
1597
|
+
user: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Paid by the renter at acceptance; may be zero.
|
|
1600
|
+
*/
|
|
1601
|
+
price: Coin;
|
|
1602
|
+
/**
|
|
1603
|
+
* Seconds the rental lasts from acceptance.
|
|
1604
|
+
*/
|
|
1605
|
+
duration: bigint;
|
|
1606
|
+
ownerMayEnd: boolean;
|
|
1607
|
+
createdAt: bigint;
|
|
1608
|
+
expiresAt: bigint;
|
|
1609
|
+
/**
|
|
1610
|
+
* Equals Token.listing_seq when the offer was made; MsgAcceptRental must
|
|
1611
|
+
* match it.
|
|
1612
|
+
*/
|
|
1613
|
+
nonce: bigint;
|
|
1614
|
+
}
|
|
1615
|
+
export interface RentalOfferProtoMsg {
|
|
1616
|
+
typeUrl: "/sparkdream.artifact.v1.RentalOffer";
|
|
1617
|
+
value: Uint8Array;
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* RentalOffer is an owner's standing offer to rent a token out. Nothing is
|
|
1621
|
+
* locked or escrowed; MsgAcceptRental settles it atomically.
|
|
1622
|
+
* @name RentalOfferAmino
|
|
1623
|
+
* @package sparkdream.artifact.v1
|
|
1624
|
+
* @see proto type: sparkdream.artifact.v1.RentalOffer
|
|
1625
|
+
*/
|
|
1626
|
+
export interface RentalOfferAmino {
|
|
1627
|
+
class_id?: string;
|
|
1628
|
+
token_id?: string;
|
|
1629
|
+
owner?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* Who may accept; "" = anyone.
|
|
1632
|
+
*/
|
|
1633
|
+
user?: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* Paid by the renter at acceptance; may be zero.
|
|
1636
|
+
*/
|
|
1637
|
+
price: CoinAmino;
|
|
1638
|
+
/**
|
|
1639
|
+
* Seconds the rental lasts from acceptance.
|
|
1640
|
+
*/
|
|
1641
|
+
duration?: string;
|
|
1642
|
+
owner_may_end?: boolean;
|
|
1643
|
+
created_at?: string;
|
|
1644
|
+
expires_at?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Equals Token.listing_seq when the offer was made; MsgAcceptRental must
|
|
1647
|
+
* match it.
|
|
1648
|
+
*/
|
|
1649
|
+
nonce?: string;
|
|
1650
|
+
}
|
|
1651
|
+
export interface RentalOfferAminoMsg {
|
|
1652
|
+
type: "/sparkdream.artifact.v1.RentalOffer";
|
|
1653
|
+
value: RentalOfferAmino;
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* ImpactClaim describes a piece of work an edition certifies (an impact
|
|
1657
|
+
* certificate). Holders of the edition's units share whatever retroactive
|
|
1658
|
+
* funders pay to it (MsgFundEdition); DREAM never touches a certificate.
|
|
1659
|
+
* @name ImpactClaim
|
|
1660
|
+
* @package sparkdream.artifact.v1
|
|
1661
|
+
* @see proto type: sparkdream.artifact.v1.ImpactClaim
|
|
1662
|
+
*/
|
|
1663
|
+
export interface ImpactClaim {
|
|
1664
|
+
/**
|
|
1665
|
+
* What was done.
|
|
1666
|
+
*/
|
|
1667
|
+
scope: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Who did it; at most MaxImpactContributors addresses.
|
|
1670
|
+
*/
|
|
1671
|
+
contributors: string[];
|
|
1672
|
+
/**
|
|
1673
|
+
* Unix seconds; 0 = unset. work_start <= work_end when both are set.
|
|
1674
|
+
*/
|
|
1675
|
+
workStart: bigint;
|
|
1676
|
+
workEnd: bigint;
|
|
1677
|
+
/**
|
|
1678
|
+
* A completed x/rep initiative this certificate is for; 0 = none. The
|
|
1679
|
+
* initiative's assignee issues it, at most once per initiative.
|
|
1680
|
+
*/
|
|
1681
|
+
initiativeId: bigint;
|
|
1682
|
+
}
|
|
1683
|
+
export interface ImpactClaimProtoMsg {
|
|
1684
|
+
typeUrl: "/sparkdream.artifact.v1.ImpactClaim";
|
|
1685
|
+
value: Uint8Array;
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* ImpactClaim describes a piece of work an edition certifies (an impact
|
|
1689
|
+
* certificate). Holders of the edition's units share whatever retroactive
|
|
1690
|
+
* funders pay to it (MsgFundEdition); DREAM never touches a certificate.
|
|
1691
|
+
* @name ImpactClaimAmino
|
|
1692
|
+
* @package sparkdream.artifact.v1
|
|
1693
|
+
* @see proto type: sparkdream.artifact.v1.ImpactClaim
|
|
1694
|
+
*/
|
|
1695
|
+
export interface ImpactClaimAmino {
|
|
1696
|
+
/**
|
|
1697
|
+
* What was done.
|
|
1698
|
+
*/
|
|
1699
|
+
scope?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Who did it; at most MaxImpactContributors addresses.
|
|
1702
|
+
*/
|
|
1703
|
+
contributors?: string[];
|
|
1704
|
+
/**
|
|
1705
|
+
* Unix seconds; 0 = unset. work_start <= work_end when both are set.
|
|
1706
|
+
*/
|
|
1707
|
+
work_start?: string;
|
|
1708
|
+
work_end?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* A completed x/rep initiative this certificate is for; 0 = none. The
|
|
1711
|
+
* initiative's assignee issues it, at most once per initiative.
|
|
1712
|
+
*/
|
|
1713
|
+
initiative_id?: string;
|
|
1714
|
+
}
|
|
1715
|
+
export interface ImpactClaimAminoMsg {
|
|
1716
|
+
type: "/sparkdream.artifact.v1.ImpactClaim";
|
|
1717
|
+
value: ImpactClaimAmino;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* Edition is one semi-fungible token id of an EDITIONS class: identical
|
|
1721
|
+
* units held as per-address balances.
|
|
1722
|
+
* @name Edition
|
|
1723
|
+
* @package sparkdream.artifact.v1
|
|
1724
|
+
* @see proto type: sparkdream.artifact.v1.Edition
|
|
1725
|
+
*/
|
|
1726
|
+
export interface Edition {
|
|
1727
|
+
classId: bigint;
|
|
1728
|
+
/**
|
|
1729
|
+
* From Class.next_token_id (editions and tokens share the id space).
|
|
1730
|
+
*/
|
|
1731
|
+
id: bigint;
|
|
1732
|
+
creator: string;
|
|
1733
|
+
metadata: TokenMetadata;
|
|
1734
|
+
metadataFrozen: boolean;
|
|
1735
|
+
/**
|
|
1736
|
+
* 0 = unlimited. Counts units ever issued (supply + burned + reserved);
|
|
1737
|
+
* may only be lowered.
|
|
1738
|
+
*/
|
|
1739
|
+
maxSupply: bigint;
|
|
1740
|
+
/**
|
|
1741
|
+
* Units in balances (free or locked in listings and pending transfers).
|
|
1742
|
+
*/
|
|
1743
|
+
supply: bigint;
|
|
1744
|
+
burned: bigint;
|
|
1745
|
+
/**
|
|
1746
|
+
* Units in pending mints.
|
|
1747
|
+
*/
|
|
1748
|
+
reserved: bigint;
|
|
1749
|
+
status: ContentStatus;
|
|
1750
|
+
mediaFlags: number;
|
|
1751
|
+
mediaRulesVersion: number;
|
|
1752
|
+
createdAt: bigint;
|
|
1753
|
+
claim: ImpactClaim;
|
|
1754
|
+
/**
|
|
1755
|
+
* Retro-funding accumulator: SPARK per unit, scaled by RewardScale.
|
|
1756
|
+
*/
|
|
1757
|
+
rewardPerUnit: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* Lifetime SPARK paid to the edition's holders by retro funders.
|
|
1760
|
+
*/
|
|
1761
|
+
rewardsFunded: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Addresses holding a balance record.
|
|
1764
|
+
*/
|
|
1765
|
+
holders: bigint;
|
|
1766
|
+
}
|
|
1767
|
+
export interface EditionProtoMsg {
|
|
1768
|
+
typeUrl: "/sparkdream.artifact.v1.Edition";
|
|
1769
|
+
value: Uint8Array;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* Edition is one semi-fungible token id of an EDITIONS class: identical
|
|
1773
|
+
* units held as per-address balances.
|
|
1774
|
+
* @name EditionAmino
|
|
1775
|
+
* @package sparkdream.artifact.v1
|
|
1776
|
+
* @see proto type: sparkdream.artifact.v1.Edition
|
|
1777
|
+
*/
|
|
1778
|
+
export interface EditionAmino {
|
|
1779
|
+
class_id?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* From Class.next_token_id (editions and tokens share the id space).
|
|
1782
|
+
*/
|
|
1783
|
+
id?: string;
|
|
1784
|
+
creator?: string;
|
|
1785
|
+
metadata: TokenMetadataAmino;
|
|
1786
|
+
metadata_frozen?: boolean;
|
|
1787
|
+
/**
|
|
1788
|
+
* 0 = unlimited. Counts units ever issued (supply + burned + reserved);
|
|
1789
|
+
* may only be lowered.
|
|
1790
|
+
*/
|
|
1791
|
+
max_supply?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Units in balances (free or locked in listings and pending transfers).
|
|
1794
|
+
*/
|
|
1795
|
+
supply?: string;
|
|
1796
|
+
burned?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* Units in pending mints.
|
|
1799
|
+
*/
|
|
1800
|
+
reserved?: string;
|
|
1801
|
+
status?: ContentStatus;
|
|
1802
|
+
media_flags?: number;
|
|
1803
|
+
media_rules_version?: number;
|
|
1804
|
+
created_at?: string;
|
|
1805
|
+
claim: ImpactClaimAmino;
|
|
1806
|
+
/**
|
|
1807
|
+
* Retro-funding accumulator: SPARK per unit, scaled by RewardScale.
|
|
1808
|
+
*/
|
|
1809
|
+
reward_per_unit?: string;
|
|
1810
|
+
/**
|
|
1811
|
+
* Lifetime SPARK paid to the edition's holders by retro funders.
|
|
1812
|
+
*/
|
|
1813
|
+
rewards_funded?: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* Addresses holding a balance record.
|
|
1816
|
+
*/
|
|
1817
|
+
holders?: string;
|
|
1818
|
+
}
|
|
1819
|
+
export interface EditionAminoMsg {
|
|
1820
|
+
type: "/sparkdream.artifact.v1.Edition";
|
|
1821
|
+
value: EditionAmino;
|
|
1822
|
+
}
|
|
1823
|
+
/**
|
|
1824
|
+
* Balance is one address's units of one edition.
|
|
1825
|
+
* @name Balance
|
|
1826
|
+
* @package sparkdream.artifact.v1
|
|
1827
|
+
* @see proto type: sparkdream.artifact.v1.Balance
|
|
1828
|
+
*/
|
|
1829
|
+
export interface Balance {
|
|
1830
|
+
classId: bigint;
|
|
1831
|
+
editionId: bigint;
|
|
1832
|
+
owner: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* Units free to move.
|
|
1835
|
+
*/
|
|
1836
|
+
amount: bigint;
|
|
1837
|
+
/**
|
|
1838
|
+
* Units locked in listings and pending transfers.
|
|
1839
|
+
*/
|
|
1840
|
+
locked: bigint;
|
|
1841
|
+
/**
|
|
1842
|
+
* Storage deposit for this record, refunded to the holder who empties it.
|
|
1843
|
+
*/
|
|
1844
|
+
deposit: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Edition.reward_per_unit when the record was last settled.
|
|
1847
|
+
*/
|
|
1848
|
+
rewardDebt: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* Settled retro-funding rewards not yet claimed (bond denom).
|
|
1851
|
+
*/
|
|
1852
|
+
unclaimed: string;
|
|
1853
|
+
}
|
|
1854
|
+
export interface BalanceProtoMsg {
|
|
1855
|
+
typeUrl: "/sparkdream.artifact.v1.Balance";
|
|
1856
|
+
value: Uint8Array;
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* Balance is one address's units of one edition.
|
|
1860
|
+
* @name BalanceAmino
|
|
1861
|
+
* @package sparkdream.artifact.v1
|
|
1862
|
+
* @see proto type: sparkdream.artifact.v1.Balance
|
|
1863
|
+
*/
|
|
1864
|
+
export interface BalanceAmino {
|
|
1865
|
+
class_id?: string;
|
|
1866
|
+
edition_id?: string;
|
|
1867
|
+
owner?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Units free to move.
|
|
1870
|
+
*/
|
|
1871
|
+
amount?: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* Units locked in listings and pending transfers.
|
|
1874
|
+
*/
|
|
1875
|
+
locked?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* Storage deposit for this record, refunded to the holder who empties it.
|
|
1878
|
+
*/
|
|
1879
|
+
deposit?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* Edition.reward_per_unit when the record was last settled.
|
|
1882
|
+
*/
|
|
1883
|
+
reward_debt?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* Settled retro-funding rewards not yet claimed (bond denom).
|
|
1886
|
+
*/
|
|
1887
|
+
unclaimed?: string;
|
|
1888
|
+
}
|
|
1889
|
+
export interface BalanceAminoMsg {
|
|
1890
|
+
type: "/sparkdream.artifact.v1.Balance";
|
|
1891
|
+
value: BalanceAmino;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* EditionRef addresses one edition.
|
|
1895
|
+
* @name EditionRef
|
|
1896
|
+
* @package sparkdream.artifact.v1
|
|
1897
|
+
* @see proto type: sparkdream.artifact.v1.EditionRef
|
|
1898
|
+
*/
|
|
1899
|
+
export interface EditionRef {
|
|
1900
|
+
classId: bigint;
|
|
1901
|
+
editionId: bigint;
|
|
1902
|
+
}
|
|
1903
|
+
export interface EditionRefProtoMsg {
|
|
1904
|
+
typeUrl: "/sparkdream.artifact.v1.EditionRef";
|
|
1905
|
+
value: Uint8Array;
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* EditionRef addresses one edition.
|
|
1909
|
+
* @name EditionRefAmino
|
|
1910
|
+
* @package sparkdream.artifact.v1
|
|
1911
|
+
* @see proto type: sparkdream.artifact.v1.EditionRef
|
|
1912
|
+
*/
|
|
1913
|
+
export interface EditionRefAmino {
|
|
1914
|
+
class_id?: string;
|
|
1915
|
+
edition_id?: string;
|
|
1916
|
+
}
|
|
1917
|
+
export interface EditionRefAminoMsg {
|
|
1918
|
+
type: "/sparkdream.artifact.v1.EditionRef";
|
|
1919
|
+
value: EditionRefAmino;
|
|
1920
|
+
}
|
|
1921
|
+
/**
|
|
1922
|
+
* PendingUnits is a unit transfer or mint awaiting the recipient. Its inbox
|
|
1923
|
+
* ref is (class_id 0, token_id = id): class 0 is never a real class.
|
|
1924
|
+
* @name PendingUnits
|
|
1925
|
+
* @package sparkdream.artifact.v1
|
|
1926
|
+
* @see proto type: sparkdream.artifact.v1.PendingUnits
|
|
1927
|
+
*/
|
|
1928
|
+
export interface PendingUnits {
|
|
1929
|
+
id: bigint;
|
|
1930
|
+
/**
|
|
1931
|
+
* INBOX_KIND_UNIT_TRANSFER or INBOX_KIND_UNIT_MINT.
|
|
1932
|
+
*/
|
|
1933
|
+
kind: InboxKind;
|
|
1934
|
+
classId: bigint;
|
|
1935
|
+
editionId: bigint;
|
|
1936
|
+
/**
|
|
1937
|
+
* Transfer sender, or minter.
|
|
1938
|
+
*/
|
|
1939
|
+
from: string;
|
|
1940
|
+
to: string;
|
|
1941
|
+
amount: bigint;
|
|
1942
|
+
/**
|
|
1943
|
+
* Record deposit escrowed for the recipient; refunded to from if the
|
|
1944
|
+
* recipient already holds a record at acceptance, or on rejection.
|
|
1945
|
+
*/
|
|
1946
|
+
deposit: string;
|
|
1947
|
+
createdAt: bigint;
|
|
1948
|
+
expiresAt: bigint;
|
|
1949
|
+
}
|
|
1950
|
+
export interface PendingUnitsProtoMsg {
|
|
1951
|
+
typeUrl: "/sparkdream.artifact.v1.PendingUnits";
|
|
1952
|
+
value: Uint8Array;
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* PendingUnits is a unit transfer or mint awaiting the recipient. Its inbox
|
|
1956
|
+
* ref is (class_id 0, token_id = id): class 0 is never a real class.
|
|
1957
|
+
* @name PendingUnitsAmino
|
|
1958
|
+
* @package sparkdream.artifact.v1
|
|
1959
|
+
* @see proto type: sparkdream.artifact.v1.PendingUnits
|
|
1960
|
+
*/
|
|
1961
|
+
export interface PendingUnitsAmino {
|
|
1962
|
+
id?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* INBOX_KIND_UNIT_TRANSFER or INBOX_KIND_UNIT_MINT.
|
|
1965
|
+
*/
|
|
1966
|
+
kind?: InboxKind;
|
|
1967
|
+
class_id?: string;
|
|
1968
|
+
edition_id?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* Transfer sender, or minter.
|
|
1971
|
+
*/
|
|
1972
|
+
from?: string;
|
|
1973
|
+
to?: string;
|
|
1974
|
+
amount?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* Record deposit escrowed for the recipient; refunded to from if the
|
|
1977
|
+
* recipient already holds a record at acceptance, or on rejection.
|
|
1978
|
+
*/
|
|
1979
|
+
deposit?: string;
|
|
1980
|
+
created_at?: string;
|
|
1981
|
+
expires_at?: string;
|
|
1982
|
+
}
|
|
1983
|
+
export interface PendingUnitsAminoMsg {
|
|
1984
|
+
type: "/sparkdream.artifact.v1.PendingUnits";
|
|
1985
|
+
value: PendingUnitsAmino;
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* UnitListing offers units of an edition at a fixed per-unit price. The
|
|
1989
|
+
* listed units are locked in the seller's balance; buyers may take part.
|
|
1990
|
+
* @name UnitListing
|
|
1991
|
+
* @package sparkdream.artifact.v1
|
|
1992
|
+
* @see proto type: sparkdream.artifact.v1.UnitListing
|
|
1993
|
+
*/
|
|
1994
|
+
export interface UnitListing {
|
|
1995
|
+
id: bigint;
|
|
1996
|
+
classId: bigint;
|
|
1997
|
+
editionId: bigint;
|
|
1998
|
+
seller: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* Units still for sale.
|
|
2001
|
+
*/
|
|
2002
|
+
quantity: bigint;
|
|
2003
|
+
unitPrice: Coin;
|
|
2004
|
+
createdAt: bigint;
|
|
2005
|
+
expiresAt: bigint;
|
|
2006
|
+
}
|
|
2007
|
+
export interface UnitListingProtoMsg {
|
|
2008
|
+
typeUrl: "/sparkdream.artifact.v1.UnitListing";
|
|
2009
|
+
value: Uint8Array;
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* UnitListing offers units of an edition at a fixed per-unit price. The
|
|
2013
|
+
* listed units are locked in the seller's balance; buyers may take part.
|
|
2014
|
+
* @name UnitListingAmino
|
|
2015
|
+
* @package sparkdream.artifact.v1
|
|
2016
|
+
* @see proto type: sparkdream.artifact.v1.UnitListing
|
|
2017
|
+
*/
|
|
2018
|
+
export interface UnitListingAmino {
|
|
2019
|
+
id?: string;
|
|
2020
|
+
class_id?: string;
|
|
2021
|
+
edition_id?: string;
|
|
2022
|
+
seller?: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* Units still for sale.
|
|
2025
|
+
*/
|
|
2026
|
+
quantity?: string;
|
|
2027
|
+
unit_price: CoinAmino;
|
|
2028
|
+
created_at?: string;
|
|
2029
|
+
expires_at?: string;
|
|
2030
|
+
}
|
|
2031
|
+
export interface UnitListingAminoMsg {
|
|
2032
|
+
type: "/sparkdream.artifact.v1.UnitListing";
|
|
2033
|
+
value: UnitListingAmino;
|
|
2034
|
+
}
|
|
2035
|
+
/**
|
|
2036
|
+
* CraftInput is one ingredient of a recipe: quantity tokens of a UNIQUE
|
|
2037
|
+
* class (edition_id 0), or quantity units of an edition.
|
|
2038
|
+
* @name CraftInput
|
|
2039
|
+
* @package sparkdream.artifact.v1
|
|
2040
|
+
* @see proto type: sparkdream.artifact.v1.CraftInput
|
|
2041
|
+
*/
|
|
2042
|
+
export interface CraftInput {
|
|
2043
|
+
classId: bigint;
|
|
2044
|
+
editionId: bigint;
|
|
2045
|
+
quantity: bigint;
|
|
2046
|
+
}
|
|
2047
|
+
export interface CraftInputProtoMsg {
|
|
2048
|
+
typeUrl: "/sparkdream.artifact.v1.CraftInput";
|
|
2049
|
+
value: Uint8Array;
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* CraftInput is one ingredient of a recipe: quantity tokens of a UNIQUE
|
|
2053
|
+
* class (edition_id 0), or quantity units of an edition.
|
|
2054
|
+
* @name CraftInputAmino
|
|
2055
|
+
* @package sparkdream.artifact.v1
|
|
2056
|
+
* @see proto type: sparkdream.artifact.v1.CraftInput
|
|
2057
|
+
*/
|
|
2058
|
+
export interface CraftInputAmino {
|
|
2059
|
+
class_id?: string;
|
|
2060
|
+
edition_id?: string;
|
|
2061
|
+
quantity?: string;
|
|
2062
|
+
}
|
|
2063
|
+
export interface CraftInputAminoMsg {
|
|
2064
|
+
type: "/sparkdream.artifact.v1.CraftInput";
|
|
2065
|
+
value: CraftInputAmino;
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* CraftRecipe burns its inputs to mint into the class it belongs to.
|
|
2069
|
+
* Recipes can be removed at any time but none can be added after the
|
|
2070
|
+
* class's first craft.
|
|
2071
|
+
* @name CraftRecipe
|
|
2072
|
+
* @package sparkdream.artifact.v1
|
|
2073
|
+
* @see proto type: sparkdream.artifact.v1.CraftRecipe
|
|
2074
|
+
*/
|
|
2075
|
+
export interface CraftRecipe {
|
|
2076
|
+
classId: bigint;
|
|
2077
|
+
id: bigint;
|
|
2078
|
+
inputs: CraftInput[];
|
|
2079
|
+
/**
|
|
2080
|
+
* UNIQUE target: the crafted token's metadata.
|
|
2081
|
+
*/
|
|
2082
|
+
outputMetadata: TokenMetadata;
|
|
2083
|
+
/**
|
|
2084
|
+
* EDITIONS target: the edition and units crafted.
|
|
2085
|
+
*/
|
|
2086
|
+
outputEditionId: bigint;
|
|
2087
|
+
outputQuantity: bigint;
|
|
2088
|
+
/**
|
|
2089
|
+
* Times crafted.
|
|
2090
|
+
*/
|
|
2091
|
+
crafts: bigint;
|
|
2092
|
+
}
|
|
2093
|
+
export interface CraftRecipeProtoMsg {
|
|
2094
|
+
typeUrl: "/sparkdream.artifact.v1.CraftRecipe";
|
|
2095
|
+
value: Uint8Array;
|
|
2096
|
+
}
|
|
2097
|
+
/**
|
|
2098
|
+
* CraftRecipe burns its inputs to mint into the class it belongs to.
|
|
2099
|
+
* Recipes can be removed at any time but none can be added after the
|
|
2100
|
+
* class's first craft.
|
|
2101
|
+
* @name CraftRecipeAmino
|
|
2102
|
+
* @package sparkdream.artifact.v1
|
|
2103
|
+
* @see proto type: sparkdream.artifact.v1.CraftRecipe
|
|
2104
|
+
*/
|
|
2105
|
+
export interface CraftRecipeAmino {
|
|
2106
|
+
class_id?: string;
|
|
2107
|
+
id?: string;
|
|
2108
|
+
inputs?: CraftInputAmino[];
|
|
2109
|
+
/**
|
|
2110
|
+
* UNIQUE target: the crafted token's metadata.
|
|
2111
|
+
*/
|
|
2112
|
+
output_metadata: TokenMetadataAmino;
|
|
2113
|
+
/**
|
|
2114
|
+
* EDITIONS target: the edition and units crafted.
|
|
2115
|
+
*/
|
|
2116
|
+
output_edition_id?: string;
|
|
2117
|
+
output_quantity?: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* Times crafted.
|
|
2120
|
+
*/
|
|
2121
|
+
crafts?: string;
|
|
2122
|
+
}
|
|
2123
|
+
export interface CraftRecipeAminoMsg {
|
|
2124
|
+
type: "/sparkdream.artifact.v1.CraftRecipe";
|
|
2125
|
+
value: CraftRecipeAmino;
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* Offer is an escrowed SPARK bid to buy a token (token_id set) or any
|
|
2129
|
+
* token of a class (token_id 0, a collection offer). The price waits in the
|
|
2130
|
+
* module account until the offer is accepted, cancelled or expires.
|
|
2131
|
+
* @name Offer
|
|
2132
|
+
* @package sparkdream.artifact.v1
|
|
2133
|
+
* @see proto type: sparkdream.artifact.v1.Offer
|
|
2134
|
+
*/
|
|
2135
|
+
export interface Offer {
|
|
2136
|
+
id: bigint;
|
|
2137
|
+
bidder: string;
|
|
2138
|
+
classId: bigint;
|
|
2139
|
+
/**
|
|
2140
|
+
* 0 = any token of the class.
|
|
2141
|
+
*/
|
|
2142
|
+
tokenId: bigint;
|
|
2143
|
+
price: Coin;
|
|
2144
|
+
createdAt: bigint;
|
|
2145
|
+
expiresAt: bigint;
|
|
2146
|
+
/**
|
|
2147
|
+
* Token offers only, optional: the stored metadata the bidder saw.
|
|
2148
|
+
*/
|
|
2149
|
+
expectedMetadataHash: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Token offers only: the contents hash of a token holding nested
|
|
2152
|
+
* tokens. A collection offer never buys a token holding anything.
|
|
2153
|
+
*/
|
|
2154
|
+
expectedContentsHash: string;
|
|
2155
|
+
}
|
|
2156
|
+
export interface OfferProtoMsg {
|
|
2157
|
+
typeUrl: "/sparkdream.artifact.v1.Offer";
|
|
2158
|
+
value: Uint8Array;
|
|
2159
|
+
}
|
|
2160
|
+
/**
|
|
2161
|
+
* Offer is an escrowed SPARK bid to buy a token (token_id set) or any
|
|
2162
|
+
* token of a class (token_id 0, a collection offer). The price waits in the
|
|
2163
|
+
* module account until the offer is accepted, cancelled or expires.
|
|
2164
|
+
* @name OfferAmino
|
|
2165
|
+
* @package sparkdream.artifact.v1
|
|
2166
|
+
* @see proto type: sparkdream.artifact.v1.Offer
|
|
2167
|
+
*/
|
|
2168
|
+
export interface OfferAmino {
|
|
2169
|
+
id?: string;
|
|
2170
|
+
bidder?: string;
|
|
2171
|
+
class_id?: string;
|
|
2172
|
+
/**
|
|
2173
|
+
* 0 = any token of the class.
|
|
2174
|
+
*/
|
|
2175
|
+
token_id?: string;
|
|
2176
|
+
price: CoinAmino;
|
|
2177
|
+
created_at?: string;
|
|
2178
|
+
expires_at?: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Token offers only, optional: the stored metadata the bidder saw.
|
|
2181
|
+
*/
|
|
2182
|
+
expected_metadata_hash?: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* Token offers only: the contents hash of a token holding nested
|
|
2185
|
+
* tokens. A collection offer never buys a token holding anything.
|
|
2186
|
+
*/
|
|
2187
|
+
expected_contents_hash?: string;
|
|
2188
|
+
}
|
|
2189
|
+
export interface OfferAminoMsg {
|
|
2190
|
+
type: "/sparkdream.artifact.v1.Offer";
|
|
2191
|
+
value: OfferAmino;
|
|
2192
|
+
}
|
|
2193
|
+
/**
|
|
2194
|
+
* Auction is an English auction of one token: SPARK bids escrowed in the
|
|
2195
|
+
* module, each outbidding the last by min_increment_bps, the highest bid
|
|
2196
|
+
* settled at ends_at. A bid near the end extends it (anti-sniping).
|
|
2197
|
+
* @name Auction
|
|
2198
|
+
* @package sparkdream.artifact.v1
|
|
2199
|
+
* @see proto type: sparkdream.artifact.v1.Auction
|
|
2200
|
+
*/
|
|
2201
|
+
export interface Auction {
|
|
2202
|
+
id: bigint;
|
|
2203
|
+
classId: bigint;
|
|
2204
|
+
tokenId: bigint;
|
|
2205
|
+
seller: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* The lowest acceptable first bid.
|
|
2208
|
+
*/
|
|
2209
|
+
reservePrice: Coin;
|
|
2210
|
+
/**
|
|
2211
|
+
* Each bid must beat the current one by at least this much.
|
|
2212
|
+
*/
|
|
2213
|
+
minIncrementBps: number;
|
|
2214
|
+
createdAt: bigint;
|
|
2215
|
+
endsAt: bigint;
|
|
2216
|
+
/**
|
|
2217
|
+
* "" until the first bid.
|
|
2218
|
+
*/
|
|
2219
|
+
highBidder: string;
|
|
2220
|
+
highBid: string;
|
|
2221
|
+
bids: number;
|
|
2222
|
+
}
|
|
2223
|
+
export interface AuctionProtoMsg {
|
|
2224
|
+
typeUrl: "/sparkdream.artifact.v1.Auction";
|
|
2225
|
+
value: Uint8Array;
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* Auction is an English auction of one token: SPARK bids escrowed in the
|
|
2229
|
+
* module, each outbidding the last by min_increment_bps, the highest bid
|
|
2230
|
+
* settled at ends_at. A bid near the end extends it (anti-sniping).
|
|
2231
|
+
* @name AuctionAmino
|
|
2232
|
+
* @package sparkdream.artifact.v1
|
|
2233
|
+
* @see proto type: sparkdream.artifact.v1.Auction
|
|
2234
|
+
*/
|
|
2235
|
+
export interface AuctionAmino {
|
|
2236
|
+
id?: string;
|
|
2237
|
+
class_id?: string;
|
|
2238
|
+
token_id?: string;
|
|
2239
|
+
seller?: string;
|
|
2240
|
+
/**
|
|
2241
|
+
* The lowest acceptable first bid.
|
|
2242
|
+
*/
|
|
2243
|
+
reserve_price: CoinAmino;
|
|
2244
|
+
/**
|
|
2245
|
+
* Each bid must beat the current one by at least this much.
|
|
2246
|
+
*/
|
|
2247
|
+
min_increment_bps?: number;
|
|
2248
|
+
created_at?: string;
|
|
2249
|
+
ends_at?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* "" until the first bid.
|
|
2252
|
+
*/
|
|
2253
|
+
high_bidder?: string;
|
|
2254
|
+
high_bid?: string;
|
|
2255
|
+
bids?: number;
|
|
2256
|
+
}
|
|
2257
|
+
export interface AuctionAminoMsg {
|
|
2258
|
+
type: "/sparkdream.artifact.v1.Auction";
|
|
2259
|
+
value: AuctionAmino;
|
|
2260
|
+
}
|
|
2261
|
+
/**
|
|
2262
|
+
* ExpiryPolicy is a class's token expiry rule, fixed at creation.
|
|
2263
|
+
* @name ExpiryPolicy
|
|
2264
|
+
* @package sparkdream.artifact.v1
|
|
2265
|
+
* @see proto type: sparkdream.artifact.v1.ExpiryPolicy
|
|
2266
|
+
*/
|
|
2267
|
+
export declare const ExpiryPolicy: {
|
|
2268
|
+
typeUrl: string;
|
|
2269
|
+
encode(message: ExpiryPolicy, writer?: BinaryWriter): BinaryWriter;
|
|
2270
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ExpiryPolicy;
|
|
2271
|
+
fromPartial(object: DeepPartial<ExpiryPolicy>): ExpiryPolicy;
|
|
2272
|
+
fromAmino(object: ExpiryPolicyAmino): ExpiryPolicy;
|
|
2273
|
+
toAmino(message: ExpiryPolicy): ExpiryPolicyAmino;
|
|
2274
|
+
fromAminoMsg(object: ExpiryPolicyAminoMsg): ExpiryPolicy;
|
|
2275
|
+
fromProtoMsg(message: ExpiryPolicyProtoMsg): ExpiryPolicy;
|
|
2276
|
+
toProto(message: ExpiryPolicy): Uint8Array;
|
|
2277
|
+
toProtoMsg(message: ExpiryPolicy): ExpiryPolicyProtoMsg;
|
|
2278
|
+
};
|
|
2279
|
+
/**
|
|
2280
|
+
* RevealPolicy is a class's commit-reveal state.
|
|
2281
|
+
* @name RevealPolicy
|
|
2282
|
+
* @package sparkdream.artifact.v1
|
|
2283
|
+
* @see proto type: sparkdream.artifact.v1.RevealPolicy
|
|
2284
|
+
*/
|
|
2285
|
+
export declare const RevealPolicy: {
|
|
2286
|
+
typeUrl: string;
|
|
2287
|
+
encode(message: RevealPolicy, writer?: BinaryWriter): BinaryWriter;
|
|
2288
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RevealPolicy;
|
|
2289
|
+
fromPartial(object: DeepPartial<RevealPolicy>): RevealPolicy;
|
|
2290
|
+
fromAmino(object: RevealPolicyAmino): RevealPolicy;
|
|
2291
|
+
toAmino(message: RevealPolicy): RevealPolicyAmino;
|
|
2292
|
+
fromAminoMsg(object: RevealPolicyAminoMsg): RevealPolicy;
|
|
2293
|
+
fromProtoMsg(message: RevealPolicyProtoMsg): RevealPolicy;
|
|
2294
|
+
toProto(message: RevealPolicy): Uint8Array;
|
|
2295
|
+
toProtoMsg(message: RevealPolicy): RevealPolicyProtoMsg;
|
|
2296
|
+
};
|
|
2297
|
+
/**
|
|
2298
|
+
* Renderer names the pure Gno package x/gnovm evaluates at query time to
|
|
2299
|
+
* produce a token's displayed metadata. Fixed at creation.
|
|
2300
|
+
* @name Renderer
|
|
2301
|
+
* @package sparkdream.artifact.v1
|
|
2302
|
+
* @see proto type: sparkdream.artifact.v1.Renderer
|
|
2303
|
+
*/
|
|
2304
|
+
export declare const Renderer: {
|
|
2305
|
+
typeUrl: string;
|
|
2306
|
+
encode(message: Renderer, writer?: BinaryWriter): BinaryWriter;
|
|
2307
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Renderer;
|
|
2308
|
+
fromPartial(object: DeepPartial<Renderer>): Renderer;
|
|
2309
|
+
fromAmino(object: RendererAmino): Renderer;
|
|
2310
|
+
toAmino(message: Renderer): RendererAmino;
|
|
2311
|
+
fromAminoMsg(object: RendererAminoMsg): Renderer;
|
|
2312
|
+
fromProtoMsg(message: RendererProtoMsg): Renderer;
|
|
2313
|
+
toProto(message: Renderer): Uint8Array;
|
|
2314
|
+
toProtoMsg(message: Renderer): RendererProtoMsg;
|
|
2315
|
+
};
|
|
2316
|
+
/**
|
|
2317
|
+
* MetadataStage is one step of a token's metadata schedule.
|
|
2318
|
+
* @name MetadataStage
|
|
2319
|
+
* @package sparkdream.artifact.v1
|
|
2320
|
+
* @see proto type: sparkdream.artifact.v1.MetadataStage
|
|
2321
|
+
*/
|
|
2322
|
+
export declare const MetadataStage: {
|
|
2323
|
+
typeUrl: string;
|
|
2324
|
+
encode(message: MetadataStage, writer?: BinaryWriter): BinaryWriter;
|
|
2325
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MetadataStage;
|
|
2326
|
+
fromPartial(object: DeepPartial<MetadataStage>): MetadataStage;
|
|
2327
|
+
fromAmino(object: MetadataStageAmino): MetadataStage;
|
|
2328
|
+
toAmino(message: MetadataStage): MetadataStageAmino;
|
|
2329
|
+
fromAminoMsg(object: MetadataStageAminoMsg): MetadataStage;
|
|
2330
|
+
fromProtoMsg(message: MetadataStageProtoMsg): MetadataStage;
|
|
2331
|
+
toProto(message: MetadataStage): Uint8Array;
|
|
2332
|
+
toProtoMsg(message: MetadataStage): MetadataStageProtoMsg;
|
|
2333
|
+
};
|
|
2334
|
+
/**
|
|
2335
|
+
* MediaProposal is a media version the class owner offered a token's holder.
|
|
2336
|
+
* @name MediaProposal
|
|
2337
|
+
* @package sparkdream.artifact.v1
|
|
2338
|
+
* @see proto type: sparkdream.artifact.v1.MediaProposal
|
|
2339
|
+
*/
|
|
2340
|
+
export declare const MediaProposal: {
|
|
2341
|
+
typeUrl: string;
|
|
2342
|
+
encode(message: MediaProposal, writer?: BinaryWriter): BinaryWriter;
|
|
2343
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MediaProposal;
|
|
2344
|
+
fromPartial(object: DeepPartial<MediaProposal>): MediaProposal;
|
|
2345
|
+
fromAmino(object: MediaProposalAmino): MediaProposal;
|
|
2346
|
+
toAmino(message: MediaProposal): MediaProposalAmino;
|
|
2347
|
+
fromAminoMsg(object: MediaProposalAminoMsg): MediaProposal;
|
|
2348
|
+
fromProtoMsg(message: MediaProposalProtoMsg): MediaProposal;
|
|
2349
|
+
toProto(message: MediaProposal): Uint8Array;
|
|
2350
|
+
toProtoMsg(message: MediaProposal): MediaProposalProtoMsg;
|
|
2351
|
+
};
|
|
2352
|
+
/**
|
|
2353
|
+
* ClassFlags are fixed at class creation and never change.
|
|
2354
|
+
* @name ClassFlags
|
|
2355
|
+
* @package sparkdream.artifact.v1
|
|
2356
|
+
* @see proto type: sparkdream.artifact.v1.ClassFlags
|
|
2357
|
+
*/
|
|
2358
|
+
export declare const ClassFlags: {
|
|
2359
|
+
typeUrl: string;
|
|
2360
|
+
encode(message: ClassFlags, writer?: BinaryWriter): BinaryWriter;
|
|
2361
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ClassFlags;
|
|
2362
|
+
fromPartial(object: DeepPartial<ClassFlags>): ClassFlags;
|
|
2363
|
+
fromAmino(object: ClassFlagsAmino): ClassFlags;
|
|
2364
|
+
toAmino(message: ClassFlags): ClassFlagsAmino;
|
|
2365
|
+
fromAminoMsg(object: ClassFlagsAminoMsg): ClassFlags;
|
|
2366
|
+
fromProtoMsg(message: ClassFlagsProtoMsg): ClassFlags;
|
|
2367
|
+
toProto(message: ClassFlags): Uint8Array;
|
|
2368
|
+
toProtoMsg(message: ClassFlags): ClassFlagsProtoMsg;
|
|
2369
|
+
};
|
|
2370
|
+
/**
|
|
2371
|
+
* MintPolicy configures public minting (MsgPublicMint).
|
|
2372
|
+
* @name MintPolicy
|
|
2373
|
+
* @package sparkdream.artifact.v1
|
|
2374
|
+
* @see proto type: sparkdream.artifact.v1.MintPolicy
|
|
2375
|
+
*/
|
|
2376
|
+
export declare const MintPolicy: {
|
|
2377
|
+
typeUrl: string;
|
|
877
2378
|
encode(message: MintPolicy, writer?: BinaryWriter): BinaryWriter;
|
|
878
2379
|
decode(input: BinaryReader | Uint8Array, length?: number): MintPolicy;
|
|
879
2380
|
fromPartial(object: DeepPartial<MintPolicy>): MintPolicy;
|
|
@@ -1155,3 +2656,274 @@ export declare const SentinelDailyHideEntry: {
|
|
|
1155
2656
|
toProto(message: SentinelDailyHideEntry): Uint8Array;
|
|
1156
2657
|
toProtoMsg(message: SentinelDailyHideEntry): SentinelDailyHideEntryProtoMsg;
|
|
1157
2658
|
};
|
|
2659
|
+
/**
|
|
2660
|
+
* HarbergerPolicy makes a class's tokens partially commonly owned: each
|
|
2661
|
+
* holder self-assesses a price, anyone may buy the token at that price at
|
|
2662
|
+
* any time, and the holder pays a yearly tax on it to the community pool
|
|
2663
|
+
* through an x/session RecurringPull. Fixed at creation; tax_bps_per_year 0
|
|
2664
|
+
* means a plain class.
|
|
2665
|
+
* @name HarbergerPolicy
|
|
2666
|
+
* @package sparkdream.artifact.v1
|
|
2667
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerPolicy
|
|
2668
|
+
*/
|
|
2669
|
+
export declare const HarbergerPolicy: {
|
|
2670
|
+
typeUrl: string;
|
|
2671
|
+
encode(message: HarbergerPolicy, writer?: BinaryWriter): BinaryWriter;
|
|
2672
|
+
decode(input: BinaryReader | Uint8Array, length?: number): HarbergerPolicy;
|
|
2673
|
+
fromPartial(object: DeepPartial<HarbergerPolicy>): HarbergerPolicy;
|
|
2674
|
+
fromAmino(object: HarbergerPolicyAmino): HarbergerPolicy;
|
|
2675
|
+
toAmino(message: HarbergerPolicy): HarbergerPolicyAmino;
|
|
2676
|
+
fromAminoMsg(object: HarbergerPolicyAminoMsg): HarbergerPolicy;
|
|
2677
|
+
fromProtoMsg(message: HarbergerPolicyProtoMsg): HarbergerPolicy;
|
|
2678
|
+
toProto(message: HarbergerPolicy): Uint8Array;
|
|
2679
|
+
toProtoMsg(message: HarbergerPolicy): HarbergerPolicyProtoMsg;
|
|
2680
|
+
};
|
|
2681
|
+
/**
|
|
2682
|
+
* HarbergerState is a Harberger token's self-assessment and tax status.
|
|
2683
|
+
* @name HarbergerState
|
|
2684
|
+
* @package sparkdream.artifact.v1
|
|
2685
|
+
* @see proto type: sparkdream.artifact.v1.HarbergerState
|
|
2686
|
+
*/
|
|
2687
|
+
export declare const HarbergerState: {
|
|
2688
|
+
typeUrl: string;
|
|
2689
|
+
encode(message: HarbergerState, writer?: BinaryWriter): BinaryWriter;
|
|
2690
|
+
decode(input: BinaryReader | Uint8Array, length?: number): HarbergerState;
|
|
2691
|
+
fromPartial(object: DeepPartial<HarbergerState>): HarbergerState;
|
|
2692
|
+
fromAmino(object: HarbergerStateAmino): HarbergerState;
|
|
2693
|
+
toAmino(message: HarbergerState): HarbergerStateAmino;
|
|
2694
|
+
fromAminoMsg(object: HarbergerStateAminoMsg): HarbergerState;
|
|
2695
|
+
fromProtoMsg(message: HarbergerStateProtoMsg): HarbergerState;
|
|
2696
|
+
toProto(message: HarbergerState): Uint8Array;
|
|
2697
|
+
toProtoMsg(message: HarbergerState): HarbergerStateProtoMsg;
|
|
2698
|
+
};
|
|
2699
|
+
/**
|
|
2700
|
+
* Rental is an active time-limited user right on one token. The token is
|
|
2701
|
+
* RENTED-locked: it cannot move, be listed, burned or nested until the
|
|
2702
|
+
* rental ends.
|
|
2703
|
+
* @name Rental
|
|
2704
|
+
* @package sparkdream.artifact.v1
|
|
2705
|
+
* @see proto type: sparkdream.artifact.v1.Rental
|
|
2706
|
+
*/
|
|
2707
|
+
export declare const Rental: {
|
|
2708
|
+
typeUrl: string;
|
|
2709
|
+
encode(message: Rental, writer?: BinaryWriter): BinaryWriter;
|
|
2710
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Rental;
|
|
2711
|
+
fromPartial(object: DeepPartial<Rental>): Rental;
|
|
2712
|
+
fromAmino(object: RentalAmino): Rental;
|
|
2713
|
+
toAmino(message: Rental): RentalAmino;
|
|
2714
|
+
fromAminoMsg(object: RentalAminoMsg): Rental;
|
|
2715
|
+
fromProtoMsg(message: RentalProtoMsg): Rental;
|
|
2716
|
+
toProto(message: Rental): Uint8Array;
|
|
2717
|
+
toProtoMsg(message: Rental): RentalProtoMsg;
|
|
2718
|
+
};
|
|
2719
|
+
/**
|
|
2720
|
+
* RentalOffer is an owner's standing offer to rent a token out. Nothing is
|
|
2721
|
+
* locked or escrowed; MsgAcceptRental settles it atomically.
|
|
2722
|
+
* @name RentalOffer
|
|
2723
|
+
* @package sparkdream.artifact.v1
|
|
2724
|
+
* @see proto type: sparkdream.artifact.v1.RentalOffer
|
|
2725
|
+
*/
|
|
2726
|
+
export declare const RentalOffer: {
|
|
2727
|
+
typeUrl: string;
|
|
2728
|
+
encode(message: RentalOffer, writer?: BinaryWriter): BinaryWriter;
|
|
2729
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RentalOffer;
|
|
2730
|
+
fromPartial(object: DeepPartial<RentalOffer>): RentalOffer;
|
|
2731
|
+
fromAmino(object: RentalOfferAmino): RentalOffer;
|
|
2732
|
+
toAmino(message: RentalOffer): RentalOfferAmino;
|
|
2733
|
+
fromAminoMsg(object: RentalOfferAminoMsg): RentalOffer;
|
|
2734
|
+
fromProtoMsg(message: RentalOfferProtoMsg): RentalOffer;
|
|
2735
|
+
toProto(message: RentalOffer): Uint8Array;
|
|
2736
|
+
toProtoMsg(message: RentalOffer): RentalOfferProtoMsg;
|
|
2737
|
+
};
|
|
2738
|
+
/**
|
|
2739
|
+
* ImpactClaim describes a piece of work an edition certifies (an impact
|
|
2740
|
+
* certificate). Holders of the edition's units share whatever retroactive
|
|
2741
|
+
* funders pay to it (MsgFundEdition); DREAM never touches a certificate.
|
|
2742
|
+
* @name ImpactClaim
|
|
2743
|
+
* @package sparkdream.artifact.v1
|
|
2744
|
+
* @see proto type: sparkdream.artifact.v1.ImpactClaim
|
|
2745
|
+
*/
|
|
2746
|
+
export declare const ImpactClaim: {
|
|
2747
|
+
typeUrl: string;
|
|
2748
|
+
encode(message: ImpactClaim, writer?: BinaryWriter): BinaryWriter;
|
|
2749
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ImpactClaim;
|
|
2750
|
+
fromPartial(object: DeepPartial<ImpactClaim>): ImpactClaim;
|
|
2751
|
+
fromAmino(object: ImpactClaimAmino): ImpactClaim;
|
|
2752
|
+
toAmino(message: ImpactClaim): ImpactClaimAmino;
|
|
2753
|
+
fromAminoMsg(object: ImpactClaimAminoMsg): ImpactClaim;
|
|
2754
|
+
fromProtoMsg(message: ImpactClaimProtoMsg): ImpactClaim;
|
|
2755
|
+
toProto(message: ImpactClaim): Uint8Array;
|
|
2756
|
+
toProtoMsg(message: ImpactClaim): ImpactClaimProtoMsg;
|
|
2757
|
+
};
|
|
2758
|
+
/**
|
|
2759
|
+
* Edition is one semi-fungible token id of an EDITIONS class: identical
|
|
2760
|
+
* units held as per-address balances.
|
|
2761
|
+
* @name Edition
|
|
2762
|
+
* @package sparkdream.artifact.v1
|
|
2763
|
+
* @see proto type: sparkdream.artifact.v1.Edition
|
|
2764
|
+
*/
|
|
2765
|
+
export declare const Edition: {
|
|
2766
|
+
typeUrl: string;
|
|
2767
|
+
encode(message: Edition, writer?: BinaryWriter): BinaryWriter;
|
|
2768
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Edition;
|
|
2769
|
+
fromPartial(object: DeepPartial<Edition>): Edition;
|
|
2770
|
+
fromAmino(object: EditionAmino): Edition;
|
|
2771
|
+
toAmino(message: Edition): EditionAmino;
|
|
2772
|
+
fromAminoMsg(object: EditionAminoMsg): Edition;
|
|
2773
|
+
fromProtoMsg(message: EditionProtoMsg): Edition;
|
|
2774
|
+
toProto(message: Edition): Uint8Array;
|
|
2775
|
+
toProtoMsg(message: Edition): EditionProtoMsg;
|
|
2776
|
+
};
|
|
2777
|
+
/**
|
|
2778
|
+
* Balance is one address's units of one edition.
|
|
2779
|
+
* @name Balance
|
|
2780
|
+
* @package sparkdream.artifact.v1
|
|
2781
|
+
* @see proto type: sparkdream.artifact.v1.Balance
|
|
2782
|
+
*/
|
|
2783
|
+
export declare const Balance: {
|
|
2784
|
+
typeUrl: string;
|
|
2785
|
+
encode(message: Balance, writer?: BinaryWriter): BinaryWriter;
|
|
2786
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Balance;
|
|
2787
|
+
fromPartial(object: DeepPartial<Balance>): Balance;
|
|
2788
|
+
fromAmino(object: BalanceAmino): Balance;
|
|
2789
|
+
toAmino(message: Balance): BalanceAmino;
|
|
2790
|
+
fromAminoMsg(object: BalanceAminoMsg): Balance;
|
|
2791
|
+
fromProtoMsg(message: BalanceProtoMsg): Balance;
|
|
2792
|
+
toProto(message: Balance): Uint8Array;
|
|
2793
|
+
toProtoMsg(message: Balance): BalanceProtoMsg;
|
|
2794
|
+
};
|
|
2795
|
+
/**
|
|
2796
|
+
* EditionRef addresses one edition.
|
|
2797
|
+
* @name EditionRef
|
|
2798
|
+
* @package sparkdream.artifact.v1
|
|
2799
|
+
* @see proto type: sparkdream.artifact.v1.EditionRef
|
|
2800
|
+
*/
|
|
2801
|
+
export declare const EditionRef: {
|
|
2802
|
+
typeUrl: string;
|
|
2803
|
+
encode(message: EditionRef, writer?: BinaryWriter): BinaryWriter;
|
|
2804
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EditionRef;
|
|
2805
|
+
fromPartial(object: DeepPartial<EditionRef>): EditionRef;
|
|
2806
|
+
fromAmino(object: EditionRefAmino): EditionRef;
|
|
2807
|
+
toAmino(message: EditionRef): EditionRefAmino;
|
|
2808
|
+
fromAminoMsg(object: EditionRefAminoMsg): EditionRef;
|
|
2809
|
+
fromProtoMsg(message: EditionRefProtoMsg): EditionRef;
|
|
2810
|
+
toProto(message: EditionRef): Uint8Array;
|
|
2811
|
+
toProtoMsg(message: EditionRef): EditionRefProtoMsg;
|
|
2812
|
+
};
|
|
2813
|
+
/**
|
|
2814
|
+
* PendingUnits is a unit transfer or mint awaiting the recipient. Its inbox
|
|
2815
|
+
* ref is (class_id 0, token_id = id): class 0 is never a real class.
|
|
2816
|
+
* @name PendingUnits
|
|
2817
|
+
* @package sparkdream.artifact.v1
|
|
2818
|
+
* @see proto type: sparkdream.artifact.v1.PendingUnits
|
|
2819
|
+
*/
|
|
2820
|
+
export declare const PendingUnits: {
|
|
2821
|
+
typeUrl: string;
|
|
2822
|
+
encode(message: PendingUnits, writer?: BinaryWriter): BinaryWriter;
|
|
2823
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PendingUnits;
|
|
2824
|
+
fromPartial(object: DeepPartial<PendingUnits>): PendingUnits;
|
|
2825
|
+
fromAmino(object: PendingUnitsAmino): PendingUnits;
|
|
2826
|
+
toAmino(message: PendingUnits): PendingUnitsAmino;
|
|
2827
|
+
fromAminoMsg(object: PendingUnitsAminoMsg): PendingUnits;
|
|
2828
|
+
fromProtoMsg(message: PendingUnitsProtoMsg): PendingUnits;
|
|
2829
|
+
toProto(message: PendingUnits): Uint8Array;
|
|
2830
|
+
toProtoMsg(message: PendingUnits): PendingUnitsProtoMsg;
|
|
2831
|
+
};
|
|
2832
|
+
/**
|
|
2833
|
+
* UnitListing offers units of an edition at a fixed per-unit price. The
|
|
2834
|
+
* listed units are locked in the seller's balance; buyers may take part.
|
|
2835
|
+
* @name UnitListing
|
|
2836
|
+
* @package sparkdream.artifact.v1
|
|
2837
|
+
* @see proto type: sparkdream.artifact.v1.UnitListing
|
|
2838
|
+
*/
|
|
2839
|
+
export declare const UnitListing: {
|
|
2840
|
+
typeUrl: string;
|
|
2841
|
+
encode(message: UnitListing, writer?: BinaryWriter): BinaryWriter;
|
|
2842
|
+
decode(input: BinaryReader | Uint8Array, length?: number): UnitListing;
|
|
2843
|
+
fromPartial(object: DeepPartial<UnitListing>): UnitListing;
|
|
2844
|
+
fromAmino(object: UnitListingAmino): UnitListing;
|
|
2845
|
+
toAmino(message: UnitListing): UnitListingAmino;
|
|
2846
|
+
fromAminoMsg(object: UnitListingAminoMsg): UnitListing;
|
|
2847
|
+
fromProtoMsg(message: UnitListingProtoMsg): UnitListing;
|
|
2848
|
+
toProto(message: UnitListing): Uint8Array;
|
|
2849
|
+
toProtoMsg(message: UnitListing): UnitListingProtoMsg;
|
|
2850
|
+
};
|
|
2851
|
+
/**
|
|
2852
|
+
* CraftInput is one ingredient of a recipe: quantity tokens of a UNIQUE
|
|
2853
|
+
* class (edition_id 0), or quantity units of an edition.
|
|
2854
|
+
* @name CraftInput
|
|
2855
|
+
* @package sparkdream.artifact.v1
|
|
2856
|
+
* @see proto type: sparkdream.artifact.v1.CraftInput
|
|
2857
|
+
*/
|
|
2858
|
+
export declare const CraftInput: {
|
|
2859
|
+
typeUrl: string;
|
|
2860
|
+
encode(message: CraftInput, writer?: BinaryWriter): BinaryWriter;
|
|
2861
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CraftInput;
|
|
2862
|
+
fromPartial(object: DeepPartial<CraftInput>): CraftInput;
|
|
2863
|
+
fromAmino(object: CraftInputAmino): CraftInput;
|
|
2864
|
+
toAmino(message: CraftInput): CraftInputAmino;
|
|
2865
|
+
fromAminoMsg(object: CraftInputAminoMsg): CraftInput;
|
|
2866
|
+
fromProtoMsg(message: CraftInputProtoMsg): CraftInput;
|
|
2867
|
+
toProto(message: CraftInput): Uint8Array;
|
|
2868
|
+
toProtoMsg(message: CraftInput): CraftInputProtoMsg;
|
|
2869
|
+
};
|
|
2870
|
+
/**
|
|
2871
|
+
* CraftRecipe burns its inputs to mint into the class it belongs to.
|
|
2872
|
+
* Recipes can be removed at any time but none can be added after the
|
|
2873
|
+
* class's first craft.
|
|
2874
|
+
* @name CraftRecipe
|
|
2875
|
+
* @package sparkdream.artifact.v1
|
|
2876
|
+
* @see proto type: sparkdream.artifact.v1.CraftRecipe
|
|
2877
|
+
*/
|
|
2878
|
+
export declare const CraftRecipe: {
|
|
2879
|
+
typeUrl: string;
|
|
2880
|
+
encode(message: CraftRecipe, writer?: BinaryWriter): BinaryWriter;
|
|
2881
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CraftRecipe;
|
|
2882
|
+
fromPartial(object: DeepPartial<CraftRecipe>): CraftRecipe;
|
|
2883
|
+
fromAmino(object: CraftRecipeAmino): CraftRecipe;
|
|
2884
|
+
toAmino(message: CraftRecipe): CraftRecipeAmino;
|
|
2885
|
+
fromAminoMsg(object: CraftRecipeAminoMsg): CraftRecipe;
|
|
2886
|
+
fromProtoMsg(message: CraftRecipeProtoMsg): CraftRecipe;
|
|
2887
|
+
toProto(message: CraftRecipe): Uint8Array;
|
|
2888
|
+
toProtoMsg(message: CraftRecipe): CraftRecipeProtoMsg;
|
|
2889
|
+
};
|
|
2890
|
+
/**
|
|
2891
|
+
* Offer is an escrowed SPARK bid to buy a token (token_id set) or any
|
|
2892
|
+
* token of a class (token_id 0, a collection offer). The price waits in the
|
|
2893
|
+
* module account until the offer is accepted, cancelled or expires.
|
|
2894
|
+
* @name Offer
|
|
2895
|
+
* @package sparkdream.artifact.v1
|
|
2896
|
+
* @see proto type: sparkdream.artifact.v1.Offer
|
|
2897
|
+
*/
|
|
2898
|
+
export declare const Offer: {
|
|
2899
|
+
typeUrl: string;
|
|
2900
|
+
encode(message: Offer, writer?: BinaryWriter): BinaryWriter;
|
|
2901
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Offer;
|
|
2902
|
+
fromPartial(object: DeepPartial<Offer>): Offer;
|
|
2903
|
+
fromAmino(object: OfferAmino): Offer;
|
|
2904
|
+
toAmino(message: Offer): OfferAmino;
|
|
2905
|
+
fromAminoMsg(object: OfferAminoMsg): Offer;
|
|
2906
|
+
fromProtoMsg(message: OfferProtoMsg): Offer;
|
|
2907
|
+
toProto(message: Offer): Uint8Array;
|
|
2908
|
+
toProtoMsg(message: Offer): OfferProtoMsg;
|
|
2909
|
+
};
|
|
2910
|
+
/**
|
|
2911
|
+
* Auction is an English auction of one token: SPARK bids escrowed in the
|
|
2912
|
+
* module, each outbidding the last by min_increment_bps, the highest bid
|
|
2913
|
+
* settled at ends_at. A bid near the end extends it (anti-sniping).
|
|
2914
|
+
* @name Auction
|
|
2915
|
+
* @package sparkdream.artifact.v1
|
|
2916
|
+
* @see proto type: sparkdream.artifact.v1.Auction
|
|
2917
|
+
*/
|
|
2918
|
+
export declare const Auction: {
|
|
2919
|
+
typeUrl: string;
|
|
2920
|
+
encode(message: Auction, writer?: BinaryWriter): BinaryWriter;
|
|
2921
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Auction;
|
|
2922
|
+
fromPartial(object: DeepPartial<Auction>): Auction;
|
|
2923
|
+
fromAmino(object: AuctionAmino): Auction;
|
|
2924
|
+
toAmino(message: Auction): AuctionAmino;
|
|
2925
|
+
fromAminoMsg(object: AuctionAminoMsg): Auction;
|
|
2926
|
+
fromProtoMsg(message: AuctionProtoMsg): Auction;
|
|
2927
|
+
toProto(message: Auction): Uint8Array;
|
|
2928
|
+
toProtoMsg(message: Auction): AuctionProtoMsg;
|
|
2929
|
+
};
|