@koralabs/kora-labs-common 4.1.0 → 4.1.2
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/handles/interfaces.d.ts +28 -0
- package/package.json +1 -1
package/handles/interfaces.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ export interface IHandle {
|
|
|
113
113
|
svg_version: string;
|
|
114
114
|
version: number;
|
|
115
115
|
policy?: string;
|
|
116
|
+
handle_type: HandleType;
|
|
116
117
|
}
|
|
117
118
|
export interface ICip68Handle extends IHandle {
|
|
118
119
|
reference_token?: IReferenceToken;
|
|
@@ -185,11 +186,26 @@ export interface IPzDatum {
|
|
|
185
186
|
svg_version: string;
|
|
186
187
|
agreed_terms: string;
|
|
187
188
|
migrate_sig_required: BoolInt;
|
|
189
|
+
original_address?: HexStringOrEmpty;
|
|
188
190
|
}
|
|
189
191
|
export interface ISubHandleSettingsCreatorDefaults extends ICreatorDefaults {
|
|
190
192
|
bg_image?: string;
|
|
191
193
|
expires_slot?: number;
|
|
192
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* Handle: sh_settings
|
|
198
|
+
* [
|
|
199
|
+
* valid_contracts,
|
|
200
|
+
* admin_creds,
|
|
201
|
+
* virtual price,
|
|
202
|
+
* base price,
|
|
203
|
+
* buy_down_prices,
|
|
204
|
+
* payment address,
|
|
205
|
+
* expiry_duration
|
|
206
|
+
* ]
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
193
209
|
export type ISubHandleAdminSettings = [
|
|
194
210
|
HexString[],
|
|
195
211
|
HexString[],
|
|
@@ -227,6 +243,18 @@ export type ISubHandleSettingsItemDatumStruct = [
|
|
|
227
243
|
][],
|
|
228
244
|
ISubHandleSettingsCreatorDefaults
|
|
229
245
|
];
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @property {ISubHandleSettingsDatumStruct} [0] - nft
|
|
249
|
+
* @property {ISubHandleSettingsDatumStruct} [1] - virtual
|
|
250
|
+
* @property {number} [2] - buy_down_price
|
|
251
|
+
* @property {number} [3] - buy_down_paid
|
|
252
|
+
* @property {number} [4] - buy_down_percent
|
|
253
|
+
* @property {string} [5] - agreed_terms
|
|
254
|
+
* @property {BoolInt} [6] - migrate_sig_required
|
|
255
|
+
* @property {string} [7] - payment_address
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
230
258
|
export type ISubHandleSettingsDatumStruct = [
|
|
231
259
|
ISubHandleSettingsItemDatumStruct,
|
|
232
260
|
ISubHandleSettingsItemDatumStruct,
|