Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix(app-tokens): More pp token migration
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoulin committed Jan 9, 2024
1 parent 08b437b commit bcb87c3
Show file tree
Hide file tree
Showing 30 changed files with 2 additions and 3,678 deletions.
6 changes: 0 additions & 6 deletions src/apps/abracadabra/abracadabra.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@ import { ArbitrumAbracadabraCauldronContractPositionFetcher } from './arbitrum/a
import { ArbitrumAbracadabraFarmBoostedContractPositionFetcher } from './arbitrum/abracadabra.farm-boosted.contract-position-fetcher';
import { ArbitrumAbracadabraFarmContractPositionFetcher } from './arbitrum/abracadabra.farm.contract-position-fetcher';
import { ArbitrumAbracadabraMspellContractPositionFetcher } from './arbitrum/abracadabra.m-spell.contract-position-fetcher';
import { ArbitrumAbracadabraMagicGlpTokenFetcher } from './arbitrum/abracadabra.magic-glp.token-fetcher';
import { ArbitrumAbracadabraStakedSpellTokenFetcher } from './arbitrum/abracadabra.staked-spell.token-fetcher';
import { AvalancheAbracadabraCauldronContractPositionFetcher } from './avalanche/abracadabra.cauldron.contract-position-fetcher';
import { AvalancheAbracadabraFarmContractPositionFetcher } from './avalanche/abracadabra.farm.contract-position-fetcher';
import { AvalancheAbracadabraMspellContractPositionFetcher } from './avalanche/abracadabra.m-spell.contract-position-fetcher';
import { AvalancheAbracadabraMagicGlpTokenFetcher } from './avalanche/abracadabra.magic-glp.token-fetcher';
import { AvalancheAbracadabraStakedSpellTokenFetcher } from './avalanche/abracadabra.staked-spell.token-fetcher';
import { BinanceSmartChainAbracadabraCauldronContractPositionFetcher } from './binance-smart-chain/abracadabra.cauldron.contract-position-fetcher';
import { AbracadabraViemContractFactory } from './contracts';
import { EthereumAbracadabraCauldronContractPositionFetcher } from './ethereum/abracadabra.cauldron.contract-position-fetcher';
import { EthereumAbracadabraFarmContractPositionFetcher } from './ethereum/abracadabra.farm.contract-position-fetcher';
import { EthereumAbracadabraMspellContractPositionFetcher } from './ethereum/abracadabra.m-spell.contract-position-fetcher';
import { EthereumAbracadabraMagicApeTokenFetcher } from './ethereum/abracadabra.magic-ape.token-fetcher';
import { FantomAbracadabraCauldronContractPositionFetcher } from './fantom/abracadabra.cauldron.contract-position-fetcher';
import { FantomAbracadabraFarmContractPositionFetcher } from './fantom/abracadabra.farm.contract-position-fetcher';
import { FantomAbracadabraMspellContractPositionFetcher } from './fantom/abracadabra.m-spell.contract-position-fetcher';
Expand All @@ -32,22 +29,19 @@ import { OptimismAbracadabraErc20VaultsTokenFetcher } from './optimism/abracadab
// Arbitrum
ArbitrumAbracadabraCauldronContractPositionFetcher,
ArbitrumAbracadabraFarmContractPositionFetcher,
ArbitrumAbracadabraMagicGlpTokenFetcher,
ArbitrumAbracadabraMspellContractPositionFetcher,
ArbitrumAbracadabraStakedSpellTokenFetcher,
ArbitrumAbracadabraFarmBoostedContractPositionFetcher,
// Avalanche
AvalancheAbracadabraCauldronContractPositionFetcher,
AvalancheAbracadabraFarmContractPositionFetcher,
AvalancheAbracadabraMagicGlpTokenFetcher,
AvalancheAbracadabraMspellContractPositionFetcher,
AvalancheAbracadabraStakedSpellTokenFetcher,
// Binance-smart-chain
BinanceSmartChainAbracadabraCauldronContractPositionFetcher,
// Ethereum
EthereumAbracadabraCauldronContractPositionFetcher,
EthereumAbracadabraFarmContractPositionFetcher,
EthereumAbracadabraMagicApeTokenFetcher,
EthereumAbracadabraMspellContractPositionFetcher,
// Fantom
FantomAbracadabraCauldronContractPositionFetcher,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,10 @@ export const ARBITRUM_CAULDRONS: AbracadabraCauldronContractPositionDefinition[]
{ version: 'V4', type: 'REGULAR', address: '0x66805f6e719d7e67d46e8b2501c1237980996c6a' }, // gmLINK
];

export const ARBITRUM_GLP_TOKEN_ADDRESS = '0x4277f8f2c384827b5273592ff7cebd9f2c1ac258';
export const AVALANCHE_GLP_TOKEN_ADDRESS = '0x01234181085565ed162a948b6a5e88758cd7c7b8';

export const CURVE_MIM_3POOL_FARM = '0x839de324a1ab773f76a53900d70ac1b913d2b387';

export const M_SPELL_ADDRESS = '0x1df188958a8674b5177f77667b8d173c3cdd9e51';
export const S_SPELL_ADDRESS = '0xf7428ffcb2581a2804998efbb036a43255c8a8d3';
export const SPELL_ADDRESS = '0xf7428ffcb2581a2804998efbb036a43255c8a8d3';

export const MAGIC_GLP_ADDRESS = '0x85667409a723684fe1e57dd1abde8d88c2f54214';
export const GLP_REWARD_TRACKER_ADDRESSES = [
'0x4e971a87900b931ff39d1aad67697f49835400b6',
'0x1addd80e6039594ee970e5872d247bf0414c8903',
];
export const MAGIC_GLP_HARVESTOR_ADDRESS = '0xc99a4863173ef52ccb7ea05440da0e37ba39c139';
export const MAGIC_GLP_ANNUAL_HARVESTS = HOURS_PER_YEAR;

This file was deleted.

This file was deleted.

71 changes: 0 additions & 71 deletions src/apps/abracadabra/common/abracadabra.magic-ape.token-fetcher.ts

This file was deleted.

112 changes: 0 additions & 112 deletions src/apps/abracadabra/common/abracadabra.magic-glp.token-fetcher.ts

This file was deleted.

This file was deleted.

7 changes: 1 addition & 6 deletions src/apps/chicken-bond/chicken-bond.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ import { Module } from '@nestjs/common';
import { AbstractApp } from '~app/app.dynamic-module';

import { ChickenBondViemContractFactory } from './contracts';
import { EthereumChickenBondBlusdTokenFetcher } from './ethereum/chicken-bond.blusd.token-fetcher';
import { EthereumChickenBondBondContractPositionFetcher } from './ethereum/chicken-bond.bond.contract-position-fetcher';

@Module({
providers: [
ChickenBondViemContractFactory,
EthereumChickenBondBlusdTokenFetcher,
EthereumChickenBondBondContractPositionFetcher,
],
providers: [ChickenBondViemContractFactory, EthereumChickenBondBondContractPositionFetcher],
})
export class ChickenBondAppModule extends AbstractApp() {}
52 changes: 0 additions & 52 deletions src/apps/chicken-bond/ethereum/chicken-bond.blusd.token-fetcher.ts

This file was deleted.

Binary file removed src/apps/insurace/assets/logo.png
Binary file not shown.
Loading

0 comments on commit bcb87c3

Please sign in to comment.