Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Importing ClaimType from cow-token contract package
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro committed Jan 18, 2022
1 parent 1eb6148 commit b2c79f0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/custom/state/claim/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import ms from 'ms.macro'
import { CurrencyAmount, Price, Token } from '@uniswap/sdk-core'
import { TransactionResponse } from '@ethersproject/providers'
import { parseUnits } from '@ethersproject/units'
import { ClaimType } from '@gnosis.pm/cow-token'

import { VCow as VCowType } from 'abis/types'

Expand Down Expand Up @@ -80,15 +81,6 @@ const AIRDROP_TIME = ms`6 weeks`
// For native token price calculation
const DENOMINATOR = JSBI.exponentiate(JSBI.BigInt(10), JSBI.BigInt(18))

export enum ClaimType {
Airdrop, // free, no vesting, can be available on both mainnet and gchain
GnoOption, // paid, with vesting, must use GNO, can be available on both mainnet and gchain
UserOption, // paid, with vesting, must use Native currency, can be available on both mainnet and gchain
Investor, // paid, with vesting, must use USDC, only on mainnet
Team, // free, with vesting, only on mainnet
Advisor, // free, with vesting, only on mainnet
}

export type TypeToPriceMapper = Map<ClaimType, number>

// Hardcoded values
Expand Down

0 comments on commit b2c79f0

Please sign in to comment.