aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/models/tokens.ts
blob: 96e8a31afdf3c5084e33a415702349c7c07bcd36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 };