mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
update DDO
This commit is contained in:
parent
ca938c9400
commit
aa58431629
@ -51,6 +51,12 @@ export class DDO {
|
||||
|
||||
public proof: Proof
|
||||
|
||||
public dtBalance: number
|
||||
|
||||
public OceanBalance: number
|
||||
|
||||
public dtPrice: number
|
||||
|
||||
public constructor(ddo: Partial<DDO> = {}) {
|
||||
Object.assign(this, ddo, {
|
||||
created: (ddo && ddo.created) || new Date().toISOString().replace(/\.[0-9]{3}/, '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user