export class Token { constructor ( ticker , address , name ) { this . ticker = ticker ; this . address = address ; this . name = name || this . ticker ; } ticker : string ; address : string ; name : string ; } export class SavedToken extends Token { constructor ( ticker , address , balance , name ) { super ( ticker , address , name ) ; this . balance = balance ; } balance : number ; }