quasvel
Version:
Access and interact with Aragon Organizations and their apps.
20 lines (17 loc) • 443 B
text/typescript
import { CastData, VoterData } from '../types'
export default class Cast {
readonly id: string
readonly vote: string
readonly voter: VoterData
readonly supports: boolean
readonly stake: string
readonly createAt: string
constructor(data: CastData) {
this.id = data.id
this.vote = data.vote
this.voter = data.voter
this.supports = data.supports
this.stake = data.stake
this.createAt = data.createAt
}
}