import { Column, DataType, Index, Model, Table, } from 'sequelize-typescript'; import { IExtraData } from '../utils/interfaces'; @Table export class EvmContractAction extends Model { @Column(DataType.STRING) signature: string; @Column(DataType.STRING) sign_short: string; @Column({ type: DataType.JSONB, allowNull: true, defaultValue: null }) abi: IExtraData[]; @Index({ name: 'evmContract-action-index', using: 'HASH', }) @Column(DataType.STRING) action_name: string; }