This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(template): Remove common attributes (#1419)
- Loading branch information
Showing
344 changed files
with
857 additions
and
2,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
import { Injectable } from '@nestjs/common'; | ||
|
||
import { PresenterTemplate } from '~app-toolkit/decorators/presenter-template.decorator'; | ||
import { AaveV2PositionPresenter } from '~apps/aave-v2/common/aave-v2.position-presenter'; | ||
import { Network } from '~types'; | ||
|
||
import { AAVE_AMM_DEFINITION } from '../aave-amm.definition'; | ||
|
||
@Injectable() | ||
@PresenterTemplate() | ||
export class EthereumAaveAmmPositionPresenter extends AaveV2PositionPresenter { | ||
appId = AAVE_AMM_DEFINITION.id; | ||
network = Network.ETHEREUM_MAINNET; | ||
lendingPoolAddress = '0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9'; | ||
explorePresentationConfig = undefined; | ||
} |
10 changes: 2 additions & 8 deletions
10
src/apps/aave-amm/ethereum/aave-amm.stable-debt.token-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
src/apps/aave-amm/ethereum/aave-amm.supply.token-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
src/apps/aave-amm/ethereum/aave-amm.variable-debt.token-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
src/apps/aave-safety-module/ethereum/aave-safety-module.stk-aave.token-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
...safety-module/ethereum/aave-safety-module.stk-abpt-claimable.contract-position-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
src/apps/aave-safety-module/ethereum/aave-safety-module.stk-abpt.token-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
src/apps/aave-v2/avalanche/aave-v2.claimable.contract-position-fetcher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
import { Injectable } from '@nestjs/common'; | ||
|
||
import { PresenterTemplate } from '~app-toolkit/decorators/presenter-template.decorator'; | ||
import { AaveV2PositionPresenter } from '~apps/aave-v2/common/aave-v2.position-presenter'; | ||
import { Network } from '~types'; | ||
|
||
import { AAVE_V2_DEFINITION } from '../aave-v2.definition'; | ||
|
||
@Injectable() | ||
@PresenterTemplate() | ||
export class AvalancheAaveV2PositionPresenter extends AaveV2PositionPresenter { | ||
appId = AAVE_V2_DEFINITION.id; | ||
network = Network.AVALANCHE_MAINNET; | ||
lendingPoolAddress = '0x4f01aed16d97e3ab5ab2b501154dc9bb0f1a5a2c'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.