Skip to content

Commit

Permalink
refactor: Bills file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
DeFiFoFum committed Aug 23, 2023
1 parent 3d3ba32 commit 88637b2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 3 additions & 5 deletions src/constants/bills.ts → src/constants/bills/bills.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { ChainId } from '@ape.swap/sdk'
import tokens from './tokens'
import { BillsConfig, BillVersion } from '../types'
import tokens from '../tokens'
import { BillsConfig, BillVersion } from '../../types'

// BNB Largest ID: 82
// Polygon Largest ID: 109
// Telos Largest ID: 215
// Arbitrum Largest ID: 2003

const bills: BillsConfig[] = [
export const bills: BillsConfig[] = [
{
index: 62,
contractAddress: {
Expand Down Expand Up @@ -2366,5 +2366,3 @@ const bills: BillsConfig[] = [
soldOut: true,
},
]

export default bills
3 changes: 3 additions & 0 deletions src/constants/bills/billsLaunch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BillsLaunchConfig } from '../../types'

export const billsLaunch: BillsLaunchConfig[] = []
6 changes: 6 additions & 0 deletions src/constants/bills/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { bills } from './bills'
import { billsLaunch } from './billsLaunch'

const allBills = [...bills, ...billsLaunch]

export { bills, billsLaunch, allBills }
7 changes: 0 additions & 7 deletions src/constants/billsLaunch.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as bills } from './bills'
export * from './bills/'
export { default as farms } from './farms'
export { default as jungleFarms } from './jungleFarms'
export { default as tokens } from './tokens'
Expand Down

0 comments on commit 88637b2

Please sign in to comment.