quasvel
Version:
Access and interact with Aragon Organizations and their apps.
20 lines (17 loc) • 462 B
text/typescript
import { TokenData } from '../types'
export default class Token {
readonly address: string
readonly id: string
readonly name: string
readonly symbol: string
readonly totalSupply: string
readonly transferable: boolean
constructor(data: TokenData) {
this.address = data.address
this.id = data.id
this.name = data.name
this.symbol = data.symbol
this.totalSupply = data.totalSupply
this.transferable = data.transferable
}
}