import stellar from "stellar-base" ; import { AccountID } from "./" ; export interface IOfferValues { id : string ; seller : AccountID ; selling : stellar . Asset ; buying : stellar . Asset ; amount : string ; price : string ; priceN : number ; priceD : number ; passive : boolean ; } export class OfferValues { public id : string ; public seller : AccountID ; public selling : stellar . Asset ; public buying : stellar . Asset ; public amount : string ; public price : string ; public priceN : number ; public priceD : number ; public passive : boolean ; constructor ( data ) { this . id = data . id ; this . seller = data . seller ; this . selling = data . selling ; this . buying = data . buying ; this . amount = data . amount ; this . priceN = data . priceN ; this . priceD = data . priceD ; this . price = data . price ; this . passive = data . passive ; } }