diff --git a/src/app/app.interface.ts b/src/app/app.interface.ts index 75ed8e9a7..666cb288d 100644 --- a/src/app/app.interface.ts +++ b/src/app/app.interface.ts @@ -55,6 +55,14 @@ export type AppDefinitionObject = { supportedNetworks: { [N in Network]?: ProtocolAction[] }; primaryColor?: string; url: string; + links: { + learn?: string; + github?: string; + twitter?: string; + telegram?: string; + discord?: string; + medium?: string; + }; compatibleAddressFormat?: { [N in Network]?: AddressFormat }; token?: { address: string; diff --git a/src/apps/abracadabra/abracadabra.definition.ts b/src/apps/abracadabra/abracadabra.definition.ts index aad1c8048..82fefce8d 100644 --- a/src/apps/abracadabra/abracadabra.definition.ts +++ b/src/apps/abracadabra/abracadabra.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const ABRACADABRA_DEFINITION = { +export const ABRACADABRA_DEFINITION: AppDefinitionObject = { id: 'abracadabra', groups: { stakedSpell: { id: 'staked-spell', type: GroupType.TOKEN }, @@ -13,6 +13,13 @@ export const ABRACADABRA_DEFINITION = { name: 'Abracadabra', description: `Abracadabra is a lending platform that uses interest-bearing tokens as collateral to borrow a USD pegged stable coin that can be used as any other stablecoin. Abracadabra provides the opportunity for users to unlock the capital of their yield.`, url: 'https://abracadabra.money/', + links: { + github: 'https://github.com/Abracadabra-money', + twitter: 'https://twitter.com/MIM_Spell', + discord: 'https://t.co/mi8POGJUaH', + telegram: 'https://t.me/abracadabramoney', + medium: 'https://abracadabramoney.medium.com/', + }, tags: [ProtocolTag.LENDING], supportedNetworks: { [Network.ARBITRUM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/aelin/aelin.definition.ts b/src/apps/aelin/aelin.definition.ts index 9684f50bd..8ce2721b0 100644 --- a/src/apps/aelin/aelin.definition.ts +++ b/src/apps/aelin/aelin.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolTag, ProtocolAction } from '~app/app.interface'; +import { GroupType, ProtocolTag, ProtocolAction, AppDefinitionObject } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const AELIN_DEFINITION = { +export const AELIN_DEFINITION: AppDefinitionObject = { id: 'aelin', name: 'Aelin', description: `Aelin is a fundraising protocol built on Ethereum and launched on Optimism.`, @@ -13,6 +13,12 @@ export const AELIN_DEFINITION = { farm: { id: 'farm', type: GroupType.POSITION }, }, url: 'https://aelin.xyz/', + links: { + github: 'https://github.com/AelinXYZ', + twitter: 'https://twitter.com/aelinprotocol', + discord: 'https://t.co/kG6zsC0zaR', + medium: 'https://medium.com/@aelinprotocol', + }, tags: [ProtocolTag.LENDING], supportedNetworks: { [Network.OPTIMISM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/airswap/airswap.definition.ts b/src/apps/airswap/airswap.definition.ts index c6e1cb508..18c579f65 100644 --- a/src/apps/airswap/airswap.definition.ts +++ b/src/apps/airswap/airswap.definition.ts @@ -1,15 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const AIRSWAP_DEFINITION = { +export const AIRSWAP_DEFINITION: AppDefinitionObject = { id: 'airswap', name: 'Airswap', description: 'AirSwap is an open community of developers, designers, writers, and tinkerers building decentralized trading systems. Protocol fees are automatically distributed to contributors.', url: 'https://airswap.io', - symbol: 'AST', + links: { + github: 'https://github.com/airswap', + twitter: 'https://twitter.com/airswap', + discord: 'https://chat.airswap.io/', + medium: 'https://airswap.medium.com/', + }, groups: { sAST: { id: 's-ast', type: GroupType.TOKEN }, }, diff --git a/src/apps/airswap/ethereum/airswap.s-ast.token-fetcher.ts b/src/apps/airswap/ethereum/airswap.s-ast.token-fetcher.ts index ce47ff068..ad87e1b5f 100644 --- a/src/apps/airswap/ethereum/airswap.s-ast.token-fetcher.ts +++ b/src/apps/airswap/ethereum/airswap.s-ast.token-fetcher.ts @@ -35,7 +35,7 @@ export class EthereumAirswapSAstTokenFetcher implements PositionFetcher v.symbol === AIRSWAP_DEFINITION.symbol); + const underlyingToken = baseTokenDependencies.find(v => v.symbol === 'AST'); if (!underlyingToken) { return []; diff --git a/src/apps/curve/curve.definition.ts b/src/apps/curve/curve.definition.ts index a74eb517b..199d5f1b7 100644 --- a/src/apps/curve/curve.definition.ts +++ b/src/apps/curve/curve.definition.ts @@ -1,13 +1,19 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const CURVE_DEFINITION = { +export const CURVE_DEFINITION: AppDefinitionObject = { 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 }, pool: { id: 'pool', type: GroupType.TOKEN }, diff --git a/src/apps/enzyme-finance/enzyme-finance.definition.ts b/src/apps/enzyme-finance/enzyme-finance.definition.ts index abdd35a53..66cd946c1 100644 --- a/src/apps/enzyme-finance/enzyme-finance.definition.ts +++ b/src/apps/enzyme-finance/enzyme-finance.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const ENZYME_FINANCE_DEFINITION = { +export const ENZYME_FINANCE_DEFINITION: AppDefinitionObject = { id: 'enzyme-finance', name: 'Enzyme Finance', description: 'Enzyme empowers you to build and scale vaults based on the investment strategies of your choice.', @@ -11,6 +11,13 @@ export const ENZYME_FINANCE_DEFINITION = { vault: { id: 'vault', type: GroupType.TOKEN }, }, url: 'https://enzyme.finance/', + links: { + github: 'https://github.com/enzymefinance', + twitter: 'https://twitter.com/enzymefinance', + discord: 'https://discord.enzyme.finance/', + telegram: 'https://telegram.enzyme.finance/', + medium: 'https://medium.com/enzymefinance', + }, tags: [ProtocolTag.ASSET_MANAGEMENT], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/illuvium/illuvium.definition.ts b/src/apps/illuvium/illuvium.definition.ts index 41b5d5224..6e76a0383 100644 --- a/src/apps/illuvium/illuvium.definition.ts +++ b/src/apps/illuvium/illuvium.definition.ts @@ -1,13 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const ILLUVIUM_DEFINITION = { +export const ILLUVIUM_DEFINITION: AppDefinitionObject = { id: 'illuvium', name: 'Illuvium', description: `Illuvium is a collectible NFT RPG game and auto-battler rolled into one. There is an open-world RPG experience in the overworld, where you mine, harvest, capture, and fight Illuvials.`, url: 'https://www.illuvium.io/', + links: { + github: 'https://github.com/illuviumgame', + twitter: 'https://twitter.com/illuviumio', + discord: 'https://discord.com/invite/illuvium', + telegram: 'https://t.me/illuvium', + medium: 'https://medium.com/illuvium', + }, tags: [ProtocolTag.GAMING], groups: { farm: { id: 'farm', type: GroupType.POSITION }, diff --git a/src/apps/jpegd/jpegd.definition.ts b/src/apps/jpegd/jpegd.definition.ts index 84cb53ac5..70950fa67 100644 --- a/src/apps/jpegd/jpegd.definition.ts +++ b/src/apps/jpegd/jpegd.definition.ts @@ -1,13 +1,19 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const JPEGD_DEFINITION = { +export const JPEGD_DEFINITION: AppDefinitionObject = { id: 'jpegd', name: 'Jpegd', description: 'JPEGd is the leading NFT lending platform in the decentralized finance space.', url: 'https://jpegd.io/', + links: { + twitter: 'https://twitter.com/JPEGd_69', + discord: 'https://discord.com/invite/jpegd', + telegram: 'https://t.me/jpegd', + medium: 'https://medium.com/@jpegd', + }, groups: { pool: { id: 'pool', type: GroupType.POSITION }, bond: { id: 'bond', type: GroupType.POSITION }, diff --git a/src/apps/keeper-dao/keeper-dao.definition.ts b/src/apps/keeper-dao/keeper-dao.definition.ts index 1f2c52634..a4f66031e 100644 --- a/src/apps/keeper-dao/keeper-dao.definition.ts +++ b/src/apps/keeper-dao/keeper-dao.definition.ts @@ -1,13 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const KEEPER_DAO_DEFINITION = { +export const KEEPER_DAO_DEFINITION: AppDefinitionObject = { id: 'keeper-dao', name: 'KeeperDAO', description: `KeeperDAO is building a decentralized protocol for Keepers that will help make Ethereum a more secure, egalitarian, and profitable network for all.`, url: 'https://www.keeperdao.com/', + links: { + github: 'https://github.com/keeperdao', + twitter: 'https://twitter.com/Keeper_DAO', + telegram: 'https://t.me/keeperdao', + discord: 'https://discord.gg/3JUgvyyNhA', + medium: 'https://medium.com/keeperdao', + }, groups: { v2Pool: { id: 'v2-pool', type: GroupType.TOKEN }, v3Pool: { id: 'v3-pool', type: GroupType.TOKEN }, diff --git a/src/apps/lido/ethereum/lido.steth.token-fetcher.ts b/src/apps/lido/ethereum/lido.steth.token-fetcher.ts index 1aff6e830..e48b3d31d 100644 --- a/src/apps/lido/ethereum/lido.steth.token-fetcher.ts +++ b/src/apps/lido/ethereum/lido.steth.token-fetcher.ts @@ -24,11 +24,11 @@ export class EthereumLidoStethTokenFetcher implements PositionFetcher v.symbol === LIDO_DEFINITION.stethSymbol)!; + const stethToken = baseTokenDependencies.find(v => v.symbol === 'stETH')!; const [symbol, decimals, totalSupply] = await Promise.all([ multicall.wrap(contract).symbol(), multicall.wrap(contract).decimals(), @@ -49,7 +49,7 @@ export class EthereumLidoStethTokenFetcher implements PositionFetcher v.symbol === LIDO_DEFINITION.stethSymbol)!; - const contract = this.lidoContractFactory.steth({ address: address, network }); + const stethToken = baseTokens.find(v => v.symbol === 'stETH')!; + const contract = this.lidoContractFactory.steth({ address: stethAddress, network }); const multicall = this.appToolkit.getMulticall(network); const [decimals, totalSupply] = await Promise.all([ multicall.wrap(contract).decimals(), diff --git a/src/apps/lido/ethereum/lido.wsteth.token-fetcher.ts b/src/apps/lido/ethereum/lido.wsteth.token-fetcher.ts index 1d1c27f82..870ba6cb5 100644 --- a/src/apps/lido/ethereum/lido.wsteth.token-fetcher.ts +++ b/src/apps/lido/ethereum/lido.wsteth.token-fetcher.ts @@ -24,11 +24,11 @@ export class EthereumLidoWstethTokenFetcher implements PositionFetcher v.symbol === LIDO_DEFINITION.wstethSymbol)!; + const wstethToken = baseTokenDependencies.find(v => v.symbol === 'wstETH')!; const [symbol, decimals, totalSupply] = await Promise.all([ multicall.wrap(contract).symbol(), multicall.wrap(contract).decimals(), @@ -49,7 +49,7 @@ export class EthereumLidoWstethTokenFetcher implements PositionFetcher ({ address: gaugeAddress!, stakedTokenAddress: vaultAddress, - rewardTokenAddresses: [PICKLE_DEFINITION.token.address], + rewardTokenAddresses: [PICKLE_DEFINITION.token!.address], })), resolveFarmContract: ({ address }) => this.pickleContractFactory.pickleJarSingleRewardStaking({ network, address }), diff --git a/src/apps/pickle/pickle.definition.ts b/src/apps/pickle/pickle.definition.ts index f18f205b3..740b39756 100644 --- a/src/apps/pickle/pickle.definition.ts +++ b/src/apps/pickle/pickle.definition.ts @@ -1,13 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const PICKLE_DEFINITION = { +export const PICKLE_DEFINITION: AppDefinitionObject = { id: 'pickle', name: 'Pickle', description: `Pickle Finance helps users to maximize their DeFi yields by auto-compounding their rewards, saving them time and gas.`, url: 'https://pickle.finance/', + links: { + github: 'https://github.com/pickle-finance', + twitter: 'https://twitter.com/picklefinance', + discord: 'https://t.co/vbEtaWx8j6', + telegram: 'https://t.me/picklefinance', + medium: 'https://picklefinance.medium.com/', + }, groups: { jar: { id: 'jar', type: GroupType.TOKEN }, votingEscrow: { id: 'voting-escrow', type: GroupType.POSITION }, diff --git a/src/apps/pie-dao/pie-dao.definition.ts b/src/apps/pie-dao/pie-dao.definition.ts index f48dc976e..096927fd8 100644 --- a/src/apps/pie-dao/pie-dao.definition.ts +++ b/src/apps/pie-dao/pie-dao.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const PIE_DAO_DEFINITION = { +export const PIE_DAO_DEFINITION: AppDefinitionObject = { id: 'pie-dao', name: 'PieDAO', description: `PieDAO is the asset allocation DAO for decentralized market-weighted portfolio allocations.`, @@ -14,6 +14,13 @@ export const PIE_DAO_DEFINITION = { voting: { id: 'voting', type: GroupType.POSITION }, }, url: 'https://www.piedao.org/', + links: { + github: 'https://github.com/pie-dao', + twitter: 'https://twitter.com/PieDAO_DeFi', + discord: 'https://discord.com/invite/eJTYNUF', + telegram: 'https://t.me/piedao', + medium: 'https://medium.com/piedao', + }, tags: [ProtocolTag.LIQUIDITY_POOL], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/pool-together/pool-together.definition.ts b/src/apps/pool-together/pool-together.definition.ts index 707a78a2c..6c97e3dcf 100644 --- a/src/apps/pool-together/pool-together.definition.ts +++ b/src/apps/pool-together/pool-together.definition.ts @@ -1,13 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const POOL_TOGETHER_DEFINITION = { +export const POOL_TOGETHER_DEFINITION: AppDefinitionObject = { id: 'pool-together', name: 'PoolTogether', description: `PoolTogether is a crypto-powered savings protocol based on Premium Bonds. Save money and have a chance to win every week.`, url: 'https://pooltogether.com/', + links: { + github: 'https://github.com/pooltogether', + twitter: 'https://twitter.com/PoolTogether_', + discord: 'https://pooltogether.com/discord', + telegram: 'https://t.me/pooltogether', + medium: 'https://medium.com/pooltogether', + }, groups: { pod: { id: 'pod', type: GroupType.POSITION }, prizeTicket: { id: 'prize-ticket', type: GroupType.TOKEN }, diff --git a/src/apps/synthetix/synthetix.definition.ts b/src/apps/synthetix/synthetix.definition.ts index e7f04ece8..4cef48822 100644 --- a/src/apps/synthetix/synthetix.definition.ts +++ b/src/apps/synthetix/synthetix.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const SYNTHETIX_DEFINITION = { +export const SYNTHETIX_DEFINITION: AppDefinitionObject = { id: 'synthetix', name: 'Synthetix', description: `A new financial primitive enabling the creation of synthetic assets, offering unique derivatives and exposure to real-world assets on the blockchain.`, @@ -13,6 +13,12 @@ export const SYNTHETIX_DEFINITION = { mintr: { id: 'mintr', type: GroupType.POSITION }, }, url: 'https://synthetix.io/', + links: { + github: 'https://github.com/Synthetixio/synthetix', + twitter: 'https://twitter.com/synthetix_io', + discord: 'https://discord.com/invite/AEdUHzt', + telegram: 'https://t.me/s/havven_news', + }, tags: [ProtocolTag.LIQUIDITY_POOL], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW, ProtocolAction.STAKE, ProtocolAction.TRANSACT], diff --git a/src/apps/teddy-cash/teddy-cash.definition.ts b/src/apps/teddy-cash/teddy-cash.definition.ts index 1781151b1..777f0b219 100644 --- a/src/apps/teddy-cash/teddy-cash.definition.ts +++ b/src/apps/teddy-cash/teddy-cash.definition.ts @@ -1,13 +1,20 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const TEDDY_CASH_DEFINITION = { +export const TEDDY_CASH_DEFINITION: AppDefinitionObject = { id: 'teddy-cash', name: 'Teddy Cash', description: 'Borrow up to 90% on your AVAX with Teddy, a decentralized borrowing protocol on Avalanche', url: 'https://teddy.cash/', + links: { + github: 'https://github.com/teddy-cash/', + twitter: 'https://twitter.com/teddycashlive', + discord: 'https://discord.gg/TJXnyPXQxf', + telegram: 'https://t.me/teddycashofficial', + medium: 'https://medium.com/teddy-cash', + }, groups: { farm: { id: 'farm', type: GroupType.POSITION }, trove: { id: 'trove', type: GroupType.POSITION }, diff --git a/src/apps/tokemak/tokemak.definition.ts b/src/apps/tokemak/tokemak.definition.ts index c43716712..1c6ae89a9 100644 --- a/src/apps/tokemak/tokemak.definition.ts +++ b/src/apps/tokemak/tokemak.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const TOKEMAK_DEFINITION = { +export const TOKEMAK_DEFINITION: AppDefinitionObject = { id: 'tokemak', name: 'Tokemak', description: `Tokemak creates sustainable DeFi liquidity and capital efficient markets through a convenient decentralized market making protocol.`, @@ -12,6 +12,12 @@ export const TOKEMAK_DEFINITION = { reactor: { id: 'reactor', type: GroupType.TOKEN }, }, url: 'https://www.tokemak.xyz/', + links: { + github: 'https://github.com/Tokemak', + twitter: 'https://twitter.com/tokenreactor', + discord: 'https://discord.com/invite/Z5f92tfzh4', + medium: 'https://medium.com/tokemak', + }, tags: [ProtocolTag.LIQUIDITY_POOL], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW] }, }; diff --git a/src/apps/trader-joe/trader-joe.definition.ts b/src/apps/trader-joe/trader-joe.definition.ts index c00ad48f0..e4cc1104c 100644 --- a/src/apps/trader-joe/trader-joe.definition.ts +++ b/src/apps/trader-joe/trader-joe.definition.ts @@ -1,10 +1,10 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType } from '~app/app.interface'; +import { AppDefinitionObject, GroupType } from '~app/app.interface'; import { ProtocolTag, ProtocolAction } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const TRADER_JOE_DEFINITION = { +export const TRADER_JOE_DEFINITION: AppDefinitionObject = { id: 'trader-joe', name: 'Trader Joe', description: `Trader Joe is your one-stop decentralized trading platform on the Avalanche network.`, @@ -18,6 +18,13 @@ export const TRADER_JOE_DEFINITION = { chefBoostedFarm: { id: 'chef-boosted-farm', type: GroupType.POSITION }, }, url: 'https://traderjoexyz.com/', + links: { + github: 'https://github.com/traderjoe-xyz/', + twitter: 'https://twitter.com/traderjoe_xyz', + telegram: 'https://t.me/traderjoe_xyz', + discord: 'https://discord.gg/GHZceZhbZU', + medium: 'https://traderjoe-xyz.medium.com/', + }, tags: [ProtocolTag.LIQUIDITY_POOL], supportedNetworks: { [Network.AVALANCHE_MAINNET]: [ProtocolAction.VIEW] }, primaryColor: '#ee6662', diff --git a/src/apps/unagii/unagii.definition.ts b/src/apps/unagii/unagii.definition.ts index a48edd70d..b3f0f1066 100644 --- a/src/apps/unagii/unagii.definition.ts +++ b/src/apps/unagii/unagii.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const UNAGII_DEFINITION = { +export const UNAGII_DEFINITION: AppDefinitionObject = { id: 'unagii', name: 'Unagii', description: `Unagii is a non-custodial yield platform that empowers crypto asset owners with access to Decentralized Finance (DeFi) yields on a smart, simple, and user-friendly interface.`, @@ -11,6 +11,11 @@ export const UNAGII_DEFINITION = { vault: { id: 'vault', type: GroupType.TOKEN }, }, url: 'https://www.unagii.com/', + links: { + github: 'https://github.com/stakewithus', + twitter: 'https://twitter.com/unagiidotcom', + telegram: 'https://t.me/unagiidotcom', + }, tags: [ProtocolTag.YIELD_AGGREGATOR], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/uniswap-v2/uniswap-v2.definition.ts b/src/apps/uniswap-v2/uniswap-v2.definition.ts index 7b3c5b88e..6f00753ed 100644 --- a/src/apps/uniswap-v2/uniswap-v2.definition.ts +++ b/src/apps/uniswap-v2/uniswap-v2.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const UNISWAP_V2_DEFINITION = { +export const UNISWAP_V2_DEFINITION: AppDefinitionObject = { id: 'uniswap-v2', name: 'Uniswap V2', description: `A protocol for trading and automated liquidity provision on Ethereum.`, @@ -11,6 +11,11 @@ export const UNISWAP_V2_DEFINITION = { pool: { id: 'pool', type: GroupType.TOKEN }, }, url: 'https://uniswap.org/', + links: { + github: 'https://github.com/Uniswap', + twitter: 'https://twitter.com/Uniswap', + discord: 'https://discord.gg/FCfyBSbCU5', + }, tags: [ProtocolTag.LIQUIDITY_POOL], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW], diff --git a/src/apps/wban/wban.definition.ts b/src/apps/wban/wban.definition.ts index 99c7f8173..b418554af 100644 --- a/src/apps/wban/wban.definition.ts +++ b/src/apps/wban/wban.definition.ts @@ -1,14 +1,21 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const WBAN_DEFINITION = { +export const WBAN_DEFINITION: AppDefinitionObject = { id: 'wban', name: 'wBAN', description: 'Banano is a feeless, instant, rich in potassium cryptocurrency powered by DAG technology disrupting the meme economy.', url: 'https://wrap.banano.cc', + links: { + github: 'https://github.com/BananoCoin', + twitter: 'https://twitter.com/bananocoin', + discord: 'http://chat.banano.cc/', + telegram: 'https://t.me/banano_official', + medium: 'https://medium.com/banano', + }, groups: { farm: { id: 'farm', type: GroupType.POSITION }, }, diff --git a/src/apps/yearn/yearn.definition.ts b/src/apps/yearn/yearn.definition.ts index 3885d82b0..f229dd009 100644 --- a/src/apps/yearn/yearn.definition.ts +++ b/src/apps/yearn/yearn.definition.ts @@ -1,9 +1,9 @@ import { Register } from '~app-toolkit/decorators'; import { AppDefinition } from '~app/app.definition'; -import { GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; +import { AppDefinitionObject, GroupType, ProtocolAction, ProtocolTag } from '~app/app.interface'; import { Network } from '~types/network.interface'; -export const YEARN_DEFINITION = { +export const YEARN_DEFINITION: AppDefinitionObject = { id: 'yearn', name: 'Yearn', description: `Automate your yield. DeFi made simple.`, @@ -13,6 +13,12 @@ export const YEARN_DEFINITION = { yield: { id: 'yield', type: GroupType.TOKEN }, }, url: 'https://yearn.finance/', + links: { + github: 'https://github.com/yearn', + twitter: 'https://twitter.com/iearnfinance', + discord: 'https://discord.yearn.finance/', + medium: 'https://medium.com/iearn', + }, tags: [ProtocolTag.YIELD_AGGREGATOR], supportedNetworks: { [Network.ETHEREUM_MAINNET]: [ProtocolAction.VIEW, ProtocolAction.TRANSACT], @@ -20,7 +26,7 @@ export const YEARN_DEFINITION = { [Network.ARBITRUM_MAINNET]: [ProtocolAction.VIEW], }, primaryColor: '#036eef', - tokenDefinition: { + token: { address: '0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e', network: Network.ETHEREUM_MAINNET, },