From 97be11827cfa0e34dfc36a80f140c2827f6de2a8 Mon Sep 17 00:00:00 2001 From: ape-fede Date: Thu, 12 Dec 2024 11:34:28 -0300 Subject: [PATCH] chore: fix flashbonds --- config/flashBonds.json | 23 +++++++++++++++++++++++ src/constants/flashBonds.ts | 30 ++++++++++++++++++++++++------ 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/config/flashBonds.json b/config/flashBonds.json index 0a3e1da3..5aca530c 100644 --- a/config/flashBonds.json +++ b/config/flashBonds.json @@ -1,6 +1,7 @@ [ { "index": 0, + "chainId": 56, "round": "1", "totalRaiseString": "$150K", "discountString": "3%", @@ -100,6 +101,7 @@ }, { "index": 1, + "chainId": 56, "round": "1", "totalRaiseString": "$50K", "discountString": "2%", @@ -199,6 +201,7 @@ }, { "index": 2, + "chainId": 56, "round": "2", "totalRaiseString": "$250K", "discountString": "3%", @@ -310,6 +313,7 @@ }, { "index": 3, + "chainId": 56, "round": "2", "totalRaiseString": "$75K", "discountString": "2%", @@ -421,6 +425,7 @@ }, { "index": 4, + "chainId": 56, "round": "3", "totalRaiseString": "$180K", "discountString": "3%", @@ -511,6 +516,7 @@ }, { "index": 5, + "chainId": 56, "round": "3", "totalRaiseString": "$60K", "discountString": "2%", @@ -601,6 +607,7 @@ }, { "index": 6, + "chainId": 56, "round": "3", "totalRaiseString": "$25K", "discountString": "1%", @@ -691,6 +698,7 @@ }, { "index": 7, + "chainId": 56, "round": "4", "totalRaiseString": "$160K", "discountString": "3%", @@ -790,6 +798,7 @@ }, { "index": 8, + "chainId": 56, "round": "4", "totalRaiseString": "$60K", "discountString": "2%", @@ -889,6 +898,7 @@ }, { "index": 9, + "chainId": 56, "round": "5", "totalRaiseString": "$120K", "discountString": "3%", @@ -988,6 +998,7 @@ }, { "index": 10, + "chainId": 56, "round": "5", "totalRaiseString": "$50K", "discountString": "2%", @@ -1087,6 +1098,7 @@ }, { "index": 11, + "chainId": 56, "round": "6", "totalRaiseString": "100K", "discountString": "3%", @@ -1198,6 +1210,7 @@ }, { "index": 12, + "chainId": 56, "round": "6", "totalRaiseString": "40K", "discountString": "2%", @@ -1309,6 +1322,7 @@ }, { "index": 13, + "chainId": 56, "round": "6", "totalRaiseString": "20K", "discountString": "1%", @@ -1420,6 +1434,7 @@ }, { "index": 14, + "chainId": 56, "round": "7", "totalRaiseString": "30K", "discountString": "2%", @@ -1519,6 +1534,7 @@ }, { "index": 15, + "chainId": 56, "round": "7", "totalRaiseString": "100K", "discountString": "3%", @@ -1618,6 +1634,7 @@ }, { "index": 16, + "chainId": 56, "round": "8", "totalRaiseString": "40K", "discountString": "2%", @@ -1729,6 +1746,7 @@ }, { "index": 17, + "chainId": 56, "round": "8", "totalRaiseString": "120K", "discountString": "3%", @@ -1840,6 +1858,7 @@ }, { "index": 18, + "chainId": 56, "round": "9", "totalRaiseString": "15K", "discountString": "1%", @@ -1939,6 +1958,7 @@ }, { "index": 19, + "chainId": 56, "round": "10", "totalRaiseString": "30K", "discountString": "2%", @@ -2038,6 +2058,7 @@ }, { "index": 20, + "chainId": 56, "round": "10", "totalRaiseString": "100K", "discountString": "3%", @@ -2137,6 +2158,7 @@ }, { "index": 21, + "chainId": 56, "round": "11", "totalRaiseString": "30K", "discountString": "2%", @@ -2227,6 +2249,7 @@ }, { "index": 22, + "chainId": 56, "round": "11", "totalRaiseString": "100K", "discountString": "3%", diff --git a/src/constants/flashBonds.ts b/src/constants/flashBonds.ts index 4260b1fd..b851efb5 100644 --- a/src/constants/flashBonds.ts +++ b/src/constants/flashBonds.ts @@ -1,14 +1,10 @@ -import { - BillArtCollection, - BillVersion, - ChainId, - FlashBondConfig /* BillArtCollection, BillVersion, */, -} from '../types' +import { BillArtCollection, BillVersion, ChainId, FlashBondConfig } from '../types' import tokens from './tokens' const flashBonds: FlashBondConfig[] = [ { index: 0, + chainId: ChainId.BSC, round: '1', totalRaiseString: '$150K', discountString: '3%', @@ -41,6 +37,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 1, + chainId: ChainId.BSC, round: '1', totalRaiseString: '$50K', discountString: '2%', @@ -73,6 +70,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 2, + chainId: ChainId.BSC, round: '2', totalRaiseString: '$250K', discountString: '3%', @@ -105,6 +103,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 3, + chainId: ChainId.BSC, round: '2', totalRaiseString: '$75K', discountString: '2%', @@ -137,6 +136,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 4, + chainId: ChainId.BSC, round: '3', totalRaiseString: '$180K', discountString: '3%', @@ -169,6 +169,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 5, + chainId: ChainId.BSC, round: '3', totalRaiseString: '$60K', discountString: '2%', @@ -201,6 +202,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 6, + chainId: ChainId.BSC, round: '3', totalRaiseString: '$25K', discountString: '1%', @@ -233,6 +235,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 7, + chainId: ChainId.BSC, round: '4', totalRaiseString: '$160K', discountString: '3%', @@ -265,6 +268,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 8, + chainId: ChainId.BSC, round: '4', totalRaiseString: '$60K', discountString: '2%', @@ -297,6 +301,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 9, + chainId: ChainId.BSC, round: '5', totalRaiseString: '$120K', discountString: '3%', @@ -329,6 +334,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 10, + chainId: ChainId.BSC, round: '5', totalRaiseString: '$50K', discountString: '2%', @@ -361,6 +367,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 11, + chainId: ChainId.BSC, round: '6', totalRaiseString: '100K', discountString: '3%', @@ -393,6 +400,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 12, + chainId: ChainId.BSC, round: '6', totalRaiseString: '40K', discountString: '2%', @@ -425,6 +433,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 13, + chainId: ChainId.BSC, round: '6', totalRaiseString: '20K', discountString: '1%', @@ -457,6 +466,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 14, + chainId: ChainId.BSC, round: '7', totalRaiseString: '30K', discountString: '2%', @@ -489,6 +499,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 15, + chainId: ChainId.BSC, round: '7', totalRaiseString: '100K', discountString: '3%', @@ -521,6 +532,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 16, + chainId: ChainId.BSC, round: '8', totalRaiseString: '40K', discountString: '2%', @@ -553,6 +565,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 17, + chainId: ChainId.BSC, round: '8', totalRaiseString: '120K', discountString: '3%', @@ -585,6 +598,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 18, + chainId: ChainId.BSC, round: '9', totalRaiseString: '15K', discountString: '1%', @@ -617,6 +631,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 19, + chainId: ChainId.BSC, round: '10', totalRaiseString: '30K', discountString: '2%', @@ -649,6 +664,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 20, + chainId: ChainId.BSC, round: '10', totalRaiseString: '100K', discountString: '3%', @@ -681,6 +697,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 21, + chainId: ChainId.BSC, round: '11', totalRaiseString: '30K', discountString: '2%', @@ -713,6 +730,7 @@ const flashBonds: FlashBondConfig[] = [ }, { index: 22, + chainId: ChainId.BSC, round: '11', totalRaiseString: '100K', discountString: '3%',