mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
parent
87e188d006
commit
1d692b72cf
@ -89,6 +89,20 @@ export interface AssetDatatoken {
|
|||||||
serviceId: string
|
serviceId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface Stats {
|
||||||
|
/**
|
||||||
|
* How often an asset was consumed, meaning how often it was either downloaded or used as part of a compute job.
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
orders: number
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Total amount of veOCEAN allocated on this asset.
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
allocated?: number
|
||||||
|
}
|
||||||
|
|
||||||
export interface AssetLastEvent {
|
export interface AssetLastEvent {
|
||||||
tx: string
|
tx: string
|
||||||
block: number
|
block: number
|
||||||
@ -117,16 +131,10 @@ export interface Asset extends DDO {
|
|||||||
event: AssetLastEvent
|
event: AssetLastEvent
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The stats section contains different statistics fields.
|
* The stats section contains different statistics fields. This section is added by Aquarius
|
||||||
* @type {string}
|
* @type {Stats}
|
||||||
*/
|
*/
|
||||||
stats: {
|
stats: Stats
|
||||||
/**
|
|
||||||
* How often an asset was consumed, meaning how often it was either downloaded or used as part of a compute job.
|
|
||||||
* @type {string}
|
|
||||||
*/
|
|
||||||
orders: number
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains information about an asset's purgatory status defined in
|
* Contains information about an asset's purgatory status defined in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user