blob: fc21d0aedff910d9e52c4978bef3682c3c0a3fc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity({ name: 'token_on_chain_metadata' })
export class TokenOnChainMetadata {
@PrimaryColumn({ type: 'nvarchar', nullable: false })
public address!: string;
@Column({ type: 'integer', nullable: false })
public decimals!: number;
@Column({ type: 'nvarchar', nullable: false })
public symbol!: string;
@Column({ type: 'nvarchar', nullable: false })
public name!: string;
}
|