Skip to content

Commit

Permalink
Merge pull request #886 from Giveth/develop
Browse files Browse the repository at this point in the history
Release 2.0.8
  • Loading branch information
MohammadPCh authored Jun 7, 2022
2 parents 3032abf + 410c83c commit c25a54b
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givethdapp",
"version": "2.0.7",
"version": "2.0.8",
"private": true,
"scripts": {
"build": "next build",
Expand Down
19 changes: 11 additions & 8 deletions src/components/GIVfrens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,17 @@ export const GIVfrens: FC<IGIVfrensProps> = ({ regenFarms, network }) => {
)}
</Col>
</Row>
{chainId !== poolStakingConfig?.network && (
<>
<DAOChangeNetwork />
<DAOChangeNetworkModal
network={poolStakingConfig.network!}
/>
</>
)}
{chainId !== config.MAINNET_NETWORK_NUMBER &&
chainId !== config.XDAI_NETWORK_NUMBER && (
<>
<DAOChangeNetwork />
<DAOChangeNetworkModal
network={
config.MAINNET_NETWORK_NUMBER
}
/>
</>
)}
</DAOContainer>
);
})}
Expand Down
2 changes: 0 additions & 2 deletions src/config/development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ const config: EnvConfig = {
LM_ADDRESS: '0x9d23d449af3e2c07a286688c85ff5d3d4c219d79',
type: StakingType.UNISWAPV2_CULT_ETH,
platform: StakingPlatform.UNISWAP,
network: 42,
title: 'CULT / ETH',
description: '50% CULT, 50% ETH',
provideLiquidityLink:
Expand Down Expand Up @@ -238,7 +237,6 @@ const config: EnvConfig = {
LM_ADDRESS: '0x06851400866e065972ff21e1ECdE035b4772736d',
type: StakingType.HONEYSWAP_FOX_HNY,
platform: StakingPlatform.HONEYSWAP,
network: 100,
title: 'FOX / HNY',
description: '50% FOX, 50% HNY',
provideLiquidityLink:
Expand Down
39 changes: 36 additions & 3 deletions src/config/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const config: EnvConfig = {
blockExplorerName: ['etherscan'],
blockExplorerUrls: ['https://etherscan.io/'],
subgraphAddress:
'https://api.thegraph.com/subgraphs/name/aminlatifi/giveth-economy',
'https://api.thegraph.com/subgraphs/name/giveth/giveth-economy-mainnet',

TOKEN_ADDRESS: '0x900db999074d9277c5da2a43f252d74366230da0',
tokenAddressOnUniswapV2: '0x900db999074d9277c5da2a43f252d74366230da0',
Expand Down Expand Up @@ -106,8 +106,41 @@ const config: EnvConfig = {
],
uniswapV2Subgraph:
'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2',
regenStreams: [],
regenFarms: [],
regenStreams: [
{
tokenDistroAddress:
'0x73f2D115C2cBAa3b5F477A78F7A7CD348D8b70a2',
type: StreamType.CULT,
title: 'CULT DAO',
rewardTokenAddress:
'0xf0f9D895aCa5c8678f706FB8216fa22957685A13',
rewardTokenSymbol: 'CULT',
tokenAddressOnUniswapV2:
'0xf0f9D895aCa5c8678f706FB8216fa22957685A13',
},
],
regenFarms: [
{
POOL_ADDRESS: '0x5281E311734869C64ca60eF047fd87759397EFe6',
LM_ADDRESS: '0xa479103c2618aD514653B53F064Bc6c9dC35a30b',
type: StakingType.UNISWAPV2_CULT_ETH,
platform: StakingPlatform.UNISWAP,
title: 'CULT / ETH',
description: '50% CULT, 50% ETH',
provideLiquidityLink:
'https://app.uniswap.org/#/add/v2/0xf0f9D895aCa5c8678f706FB8216fa22957685A13/ETH?chain=mainnet',
unit: 'LP',
regenStreamType: StreamType.CULT,
regenFarmType: RegenFarmType.CULT_ETH,
regenFarmIntro: {
title: 'CULT',
description: `The purpose of CULT is to empower those building and contributing to our decentralized future. Our society makes it as difficult as possible to break away from societal, economic and other norms, and CULT serves to fund and support those who are working to take back our future. CULT is a reminder that the power in people is stronger than the people in power.\n\n CULT is the governance token of the Cult DAO. Every transaction of the CULT token allows you to contribute & fast-forward economic & societal change by contributing a 0.4% tax to the treasury. Fight from within until you get out, or change the system in doing so.`,
link: 'https://cultdao.io/',
},
farmStartTimeMS: 1655218800000,
active: true,
},
],
},

XDAI_CONFIG: {
Expand Down
1 change: 0 additions & 1 deletion src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export interface SimplePoolStakingConfig extends BasicStakingConfig {
provideLiquidityLink?: string;
unit: string;
active: boolean;
network?: number;
}

export interface UniswapV3PoolStakingConfig extends SimplePoolStakingConfig {
Expand Down

1 comment on commit c25a54b

@vercel
Copy link

@vercel vercel bot commented on c25a54b Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

giveth-dapps-v2 – ./

giveth.io
giveth-dapps-v2-givethio.vercel.app
giveth-dapps-v2-git-main-givethio.vercel.app
www.giveth.io

Please sign in to comment.