This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
/
curve.definition.ts
46 lines (44 loc) · 1.79 KB
/
curve.definition.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { Register } from '~app-toolkit/decorators';
import { appDefinition, AppDefinition } from '~app/app.definition';
import { GroupType, AppAction, AppTag } from '~app/app.interface';
import { Network } from '~types/network.interface';
export const CURVE_DEFINITION = appDefinition({
id: 'curve',
name: 'Curve',
description: `An exchange liquidity pool on Ethereum designed for: extremely efficient stablecoin trading, low risk, supplemental fee income for liquidity providers`,
url: 'https://curve.fi',
links: {
github: 'https://github.com/curvefi/',
twitter: 'https://twitter.com/curvefinance',
discord: 'https://discord.com/invite/rgrfS7W',
telegram: 'https://t.me/curvefi',
},
groups: {
farm: { id: 'farm', type: GroupType.POSITION, label: 'Staking', groupLabel: 'Farms' },
pool: { id: 'pool', type: GroupType.TOKEN, label: 'Pools' },
votingEscrow: { id: 'voting-escrow', type: GroupType.POSITION, label: 'Voting Escrow' },
vestingEscrow: { id: 'vesting-escrow', type: GroupType.POSITION, label: 'Vesting' },
},
tags: [AppTag.LIQUIDITY_POOL],
supportedNetworks: {
[Network.ARBITRUM_MAINNET]: [AppAction.VIEW],
[Network.AVALANCHE_MAINNET]: [AppAction.VIEW],
[Network.ETHEREUM_MAINNET]: [AppAction.VIEW],
[Network.FANTOM_OPERA_MAINNET]: [AppAction.VIEW],
[Network.GNOSIS_MAINNET]: [AppAction.VIEW],
[Network.HARMONY_MAINNET]: [AppAction.VIEW],
[Network.OPTIMISM_MAINNET]: [AppAction.VIEW],
[Network.POLYGON_MAINNET]: [AppAction.VIEW],
},
primaryColor: '#34649c',
token: {
address: '0xd533a949740bb3306d119cc777fa900ba034cd52',
network: Network.ETHEREUM_MAINNET,
},
});
@Register.AppDefinition(CURVE_DEFINITION.id)
export class CurveAppDefinition extends AppDefinition {
constructor() {
super(CURVE_DEFINITION);
}
}