Skip to content

Commit

Permalink
feat: Add Launch Bills/Bonds config
Browse files Browse the repository at this point in the history
  • Loading branch information
DeFiFoFum committed Aug 23, 2023
1 parent 1418354 commit 3d3ba32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/constants/billsLaunch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { ChainId } from '@ape.swap/sdk'
import tokens from './tokens'
import { BillsLaunchConfig, BillVersion } from '../types'

const billsLaunch: BillsLaunchConfig[] = []

export default billsLaunch
10 changes: 9 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface BillsConfig {
index: number
contractAddress: Partial<Record<ChainId, string>>
billVersion: BillVersion
billType: 'liquidity' | 'reserve' | 'launch'
billType: 'liquidity' | 'reserve'
token: Token
quoteToken: Token
lpToken: Token
Expand All @@ -117,6 +117,14 @@ export interface BillsConfig {
showcaseToken?: Token
}

export interface BillsLaunchConfig extends Omit<BillsConfig, 'billType'> {
billType: 'launch'
// UTC Time in format: 2023-01-01T12:00:00.000Z'
launchTimeISOString: string
projectSummary: string
projectDescription: string
}

export enum VaultVersion {
V1 = 'V1',
V2 = 'V2',
Expand Down

0 comments on commit 3d3ba32

Please sign in to comment.