Skip to content

Commit

Permalink
Merge pull request #19 from spinamp/geimaj/add-heds6
Browse files Browse the repository at this point in the history
add heds6
  • Loading branch information
Geimaj authored Jul 28, 2022
2 parents 657724a + cd08db6 commit 346993a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/db/migrations/19-add-heds6.ts
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 346993a

Please sign in to comment.