From 3d3ba32ced56c172b04a58cb119d4fcb2679c672 Mon Sep 17 00:00:00 2001 From: defifofum Date: Tue, 22 Aug 2023 19:14:32 -0500 Subject: [PATCH] feat: Add Launch Bills/Bonds config --- src/constants/billsLaunch.ts | 7 +++++++ src/types/index.ts | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/constants/billsLaunch.ts diff --git a/src/constants/billsLaunch.ts b/src/constants/billsLaunch.ts new file mode 100644 index 00000000..682f5647 --- /dev/null +++ b/src/constants/billsLaunch.ts @@ -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 diff --git a/src/types/index.ts b/src/types/index.ts index 797f807a..d2bc9534 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -98,7 +98,7 @@ export interface BillsConfig { index: number contractAddress: Partial> billVersion: BillVersion - billType: 'liquidity' | 'reserve' | 'launch' + billType: 'liquidity' | 'reserve' token: Token quoteToken: Token lpToken: Token @@ -117,6 +117,14 @@ export interface BillsConfig { showcaseToken?: Token } +export interface BillsLaunchConfig extends Omit { + 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',