diff --git a/src/db/migrations/19-add-heds6.ts b/src/db/migrations/19-add-heds6.ts new file mode 100644 index 0000000..b459ee1 --- /dev/null +++ b/src/db/migrations/19-add-heds6.ts @@ -0,0 +1,19 @@ +import { Knex } from 'knex'; + +import { ERC721ContractTypeName } from '../../types/ethereum'; +import { addErc721Contract, removeErc721Contract } from '../migration-helpers'; + +const HEDS_6 = { + address: '0x885236535D5Cf7033BdC5bC1050CaD7fdf4970a6', + startingBlock: '15200392', + platformId: 'heds', + contractType: ERC721ContractTypeName.default, +}; + +export const up = async (knex: Knex) => { + await addErc721Contract(knex, HEDS_6) +} + +export const down = async (knex: Knex) => { + await removeErc721Contract(knex, HEDS_6) +} \ No newline at end of file