blob: fc21d0aedff910d9e52c4978bef3682c3c0a3fc9 (
plain) (
tree)
|
|
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;
}
|