aboutsummaryrefslogblamecommitdiffstats
path: root/packages/pipeline/src/models/tokens.ts
blob: 96e8a31afdf3c5084e33a415702349c7c07bcd36 (plain) (tree)























                                          
const token = {
    tableName: 'tokens',
    tableProperties: {
        address: {
            type: 'char(66)',
        },
        decimals: {
            type: 'bigint',
        },
        name: {
            type: 'varchar',
        },
        symbol: {
            type: 'varchar',
        },
    },
};
const logToTokenSchemaMapping: any = {
    address: 'address',
    decimals: 'decimals',
    name: 'name',
    symbol: 'symbol',
};
export { token, logToTokenSchemaMapping };